home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / Memory v2.1 •••• / Memory 2.1 / Memory 2.1.rsrc / CODE_1.txt < prev    next >
Text File  |  1987-05-10  |  86KB  |  1,563 lines

  1. # near model CODE resource
  2. # jump table entries: 0-32 (33 of them)
  3. export_0:
  4. 00000000  4EED 023A                jmp        [A5 + 0x23A /* export_67 */]
  5. export_32:
  6. 00000004  4E56 FFF8                link       A6, -0x0008
  7. 00000008  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  8. 0000000C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  9. 00000010  486E FFF8                pea.l      [A6 - 0x8]
  10. 00000014  A867                     syscall    LongMul
  11. 00000016  202E FFF8                move.l     D0, [A6 - 0x8]
  12. 0000001A  222E FFFC                move.l     D1, [A6 - 0x4]
  13. 0000001E  2D41 0010                move.l     [A6 + 0x10], D1
  14. 00000022  4E5E                     unlink     A6
  15. 00000024  225F                     movea.l    A1, [A7]+
  16. 00000026  508F                     addq.l     A7, 8
  17. 00000028  4ED1                     jmp        [A1]
  18. export_31:
  19. 0000002A  4EBA 0026                jsr        [PC + 0x26 /* 00000052 */]
  20. 0000002E  2D43 0010                move.l     [A6 + 0x10], D3
  21. 00000032  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  22. 00000036  4E5E                     unlink     A6
  23. 00000038  225F                     movea.l    A1, [A7]+
  24. 0000003A  508F                     addq.l     A7, 8
  25. 0000003C  4ED1                     jmp        [A1]
  26. export_30:
  27. 0000003E  4EBA 0012                jsr        [PC + 0x12 /* 00000052 */]
  28. 00000042  2D40 0010                move.l     [A6 + 0x10], D0
  29. 00000046  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  30. 0000004A  4E5E                     unlink     A6
  31. 0000004C  225F                     movea.l    A1, [A7]+
  32. 0000004E  508F                     addq.l     A7, 8
  33. 00000050  4ED1                     jmp        [A1]
  34. fn00000052:
  35. 00000052  225F                     movea.l    A1, [A7]+
  36. 00000054  4E56 0000                link       A6, 0
  37. 00000058  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  38. 0000005C  4280                     clr.l      D0
  39. 0000005E  222E 000C                move.l     D1, [A6 + 0xC]
  40. 00000062  5BC5                     smi        D5
  41. 00000064  6A02                     bpl        +0x4 /* 00000068 */
  42. 00000066  4481                     neg.l      D1
  43. label00000068:
  44. 00000068  242E 0008                move.l     D2, [A6 + 0x8]
  45. 0000006C  5BC6                     smi        D6
  46. 0000006E  6A02                     bpl        +0x4 /* 00000072 */
  47. 00000070  4482                     neg.l      D2
  48. label00000072:
  49. 00000072  4283                     clr.l      D3
  50. 00000074  383C 001F                move.w     D4, 0x1F
  51. label00000078:
  52. 00000078  E38B                     lsl        D3, 1
  53. 0000007A  E389                     lsl        D1, 1
  54. 0000007C  E390                     roxl       D0, 1
  55. 0000007E  9082                     sub.l      D0, D2
  56. 00000080  6B06                     bmi        +0x8 /* 00000088 */
  57. 00000082  08C3 0000                bset.b     D3, 0x0
  58. 00000086  6002                     bra        +0x4 /* 0000008A */
  59. label00000088:
  60. 00000088  D082                     add.l      D0, D2
  61. label0000008A:
  62. 0000008A  51CC FFEC                dbf        D4, -0x16 /* 00000078 */
  63. 0000008E  4A05                     tst.b      D5
  64. 00000090  6702                     beq        +0x4 /* 00000094 */
  65. 00000092  4480                     neg.l      D0
  66. label00000094:
  67. 00000094  BB06                     xor.b      D6, D5
  68. 00000096  6702                     beq        +0x4 /* 0000009A */
  69. 00000098  4483                     neg.l      D3
  70. label0000009A:
  71. 0000009A  4ED1                     jmp        [A1]
  72. export_29:
  73. 0000009C  241F                     move.l     D2, [A7]+
  74. 0000009E  225F                     movea.l    A1, [A7]+
  75. 000000A0  321F                     move.w     D1, [A7]+
  76. 000000A2  205F                     movea.l    A0, [A7]+
  77. 000000A4  301F                     move.w     D0, [A7]+
  78. 000000A6  2F02                     move.l     -[A7], D2
  79. 000000A8  3400                     move.w     D2, D0
  80. 000000AA  B041                     cmp.w      D0, D1
  81. 000000AC  6F02                     ble        +0x4 /* 000000B0 */
  82. 000000AE  3401                     move.w     D2, D1
  83. label000000B0:
  84. 000000B0  5342                     subq.w     D2, 1
  85. 000000B2  6D08                     blt        +0xA /* 000000BC */
  86. label000000B4:
  87. 000000B4  B109                     cmpm.b     [A0]+, [A1]+
  88. 000000B6  6606                     bne        +0x8 /* 000000BE */
  89. 000000B8  51CA FFFA                dbf        D2, -0x8 /* 000000B4 */
  90. label000000BC:
  91. 000000BC  B041                     cmp.w      D0, D1
  92. label000000BE:
  93. 000000BE  4E75                     rts
  94. export_28:
  95. 000000C0  302F 0004                move.w     D0, [A7 + 0x4]
  96. 000000C4  E548                     lsl        D0.w, 2
  97. 000000C6  226F 0006                movea.l    A1, [A7 + 0x6]
  98. 000000CA  5249                     addq.w     A1, 1
  99. 000000CC  4202                     clr.b      D2
  100. label000000CE:
  101. 000000CE  2077 0006                movea.l    A0, [A7 + D0.w + 0x6]
  102. 000000D2  4241                     clr.w      D1
  103. 000000D4  1218                     move.b     D1, [A0]+
  104. 000000D6  670A                     beq        +0xC /* 000000E2 */
  105. 000000D8  D401                     add.b      D2, D1
  106. 000000DA  5341                     subq.w     D1, 1
  107. label000000DC:
  108. 000000DC  12D8                     move.b     [A1]+, [A0]+
  109. 000000DE  51C9 FFFC                dbf        D1, -0x6 /* 000000DC */
  110. label000000E2:
  111. 000000E2  5900                     subq.b     D0, 4
  112. 000000E4  66E8                     bne        -0x16 /* 000000CE */
  113. 000000E6  205F                     movea.l    A0, [A7]+
  114. 000000E8  301F                     move.w     D0, [A7]+
  115. 000000EA  225F                     movea.l    A1, [A7]+
  116. 000000EC  1282                     move.b     [A1], D2
  117. 000000EE  E548                     lsl        D0.w, 2
  118. 000000F0  DEC0                     add.w      A7, D0
  119. 000000F2  4ED0                     jmp        [A0]
  120. export_27:
  121. 000000F4  206F 0008                movea.l    A0, [A7 + 0x8]
  122. 000000F8  226F 000C                movea.l    A1, [A7 + 0xC]
  123. 000000FC  302F 0004                move.w     D0, [A7 + 0x4]
  124. 00000100  6F2C                     ble        +0x2E /* 0000012E */
  125. 00000102  322F 0006                move.w     D1, [A7 + 0x6]
  126. 00000106  6F26                     ble        +0x28 /* 0000012E */
  127. 00000108  4242                     clr.w      D2
  128. 0000010A  1410                     move.b     D2, [A0]
  129. 0000010C  B441                     cmp.w      D2, D1
  130. 0000010E  6D1E                     blt        +0x20 /* 0000012E */
  131. 00000110  41F0 1000                lea.l      A0, [A0 + D1.w]
  132. 00000114  D240                     add.w      D1, D0
  133. 00000116  B441                     cmp.w      D2, D1
  134. 00000118  6C08                     bge        +0xA /* 00000122 */
  135. 0000011A  3002                     move.w     D0, D2
  136. 0000011C  906F 0006                sub.w      D0, [A7 + 0x6]
  137. 00000120  5240                     addq.w     D0, 1
  138. label00000122:
  139. 00000122  12C0                     move.b     [A1]+, D0
  140. 00000124  5340                     subq.w     D0, 1
  141. label00000126:
  142. 00000126  12D8                     move.b     [A1]+, [A0]+
  143. 00000128  51C8 FFFC                dbf        D0, -0x6 /* 00000126 */
  144. 0000012C  6002                     bra        +0x4 /* 00000130 */
  145. label0000012E:
  146. 0000012E  4211                     clr.b      [A1]
  147. label00000130:
  148. 00000130  225F                     movea.l    A1, [A7]+
  149. 00000132  508F                     addq.l     A7, 8
  150. 00000134  4ED1                     jmp        [A1]
  151. 00000136  225F                     movea.l    A1, [A7]+
  152. 00000138  201F                     move.l     D0, [A7]+
  153. 0000013A  A04C                     syscall    CompactMem
  154. 0000013C  2E80                     move.l     [A7], D0
  155. 0000013E  4E71                     nop
  156. label00000140:
  157. 00000140  7000                     moveq.l    D0, 0x00
  158. label00000142:
  159. 00000142  2F09                     move.l     -[A7], A1
  160. label00000144:
  161. 00000144  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  162. 00000148  4E75                     rts
  163. 0000014A  7000                     moveq.l    D0, 0x00
  164. 0000014C  60F6                     bra        -0x8 /* 00000144 */
  165. export_26:
  166. 0000014E  225F                     movea.l    A1, [A7]+
  167. 00000150  201F                     move.l     D0, [A7]+
  168. 00000152  A122                     syscall    NewHandle, flags=1
  169. 00000154  2E88                     move.l     [A7], A0
  170. 00000156  4EFA FFEA                jmp        [PC - 0x16 /* 00000142 */]
  171. fn0000015A:
  172. 0000015A  225F                     movea.l    A1, [A7]+
  173. 0000015C  205F                     movea.l    A0, [A7]+
  174. 0000015E  A025                     syscall    GetHandleSize
  175. 00000160  2E80                     move.l     [A7], D0
  176. 00000162  6A06                     bpl        +0x8 /* 0000016A */
  177. 00000164  4297                     clr.l      [A7]
  178. 00000166  4EFA FFDA                jmp        [PC - 0x26 /* 00000142 */]
  179. label0000016A:
  180. 0000016A  4EFA FFD4                jmp        [PC - 0x2C /* 00000140 */]
  181. export_25:
  182. fn0000016E:
  183. 0000016E  225F                     movea.l    A1, [A7]+
  184. 00000170  205F                     movea.l    A0, [A7]+
  185. 00000172  A029                     syscall    HLock
  186. 00000174  4EFA FFCC                jmp        [PC - 0x34 /* 00000142 */]
  187. export_24:
  188. fn00000178:
  189. 00000178  225F                     movea.l    A1, [A7]+
  190. 0000017A  205F                     movea.l    A0, [A7]+
  191. 0000017C  A02A                     syscall    HUnlock
  192. 0000017E  4EFA FFC2                jmp        [PC - 0x3E /* 00000142 */]
  193. export_23:
  194. 00000182  225F                     movea.l    A1, [A7]+
  195. 00000184  205F                     movea.l    A0, [A7]+
  196. 00000186  A049                     syscall    HPurge
  197. 00000188  4EFA FFB8                jmp        [PC - 0x48 /* 00000142 */]
  198. export_22:
  199. 0000018C  225F                     movea.l    A1, [A7]+
  200. 0000018E  205F                     movea.l    A0, [A7]+
  201. 00000190  A04A                     syscall    HNoPurge
  202. 00000192  4EFA FFAE                jmp        [PC - 0x52 /* 00000142 */]
  203. export_21:
  204. 00000196  A036                     syscall    MoreMasters
  205. 00000198  4EFA FFAA                jmp        [PC - 0x56 /* 00000144 */]
  206. export_20:
  207. 0000019C  225F                     movea.l    A1, [A7]+
  208. 0000019E  205F                     movea.l    A0, [A7]+
  209. 000001A0  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  210. 000001A4  4ED1                     jmp        [A1]
  211. export_19:
  212. fn000001A6:
  213. 000001A6  201F                     move.l     D0, [A7]+
  214. 000001A8  225F                     movea.l    A1, [A7]+
  215. 000001AA  205F                     movea.l    A0, [A7]+
  216. 000001AC  2F00                     move.l     -[A7], D0
  217. 000001AE  A03B                     syscall    Delay
  218. 000001B0  2280                     move.l     [A1], D0
  219. 000001B2  4E75                     rts
  220. export_18:
  221. 000001B4  4E56 FFB0                link       A6, -0x0050
  222. 000001B8  41EE FFB0                lea.l      A0, [A6 - 0x50]
  223. 000001BC  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  224. 000001C2  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  225. 000001C8  4228 001A                clr.b      [A0 + 0x1A]
  226. 000001CC  4268 001C                clr.w      [A0 + 0x1C]
  227. 000001D0  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  228. 000001D2  3D40 0012                move.w     [A6 + 0x12], D0
  229. 000001D6  41E8 0020                lea.l      A0, [A0 + 0x20]
  230. 000001DA  226E 0008                movea.l    A1, [A6 + 0x8]
  231. 000001DE  7010                     moveq.l    D0, 0x10
  232. 000001E0  A02E                     syscall    BlockMove/BlockMoveData
  233. 000001E2  4E5E                     unlink     A6
  234. 000001E4  225F                     movea.l    A1, [A7]+
  235. 000001E6  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  236. 000001EC  4ED1                     jmp        [A1]
  237. export_17:
  238. 000001EE  4E56 FFC0                link       A6, -0x0040
  239. 000001F2  41EE FFC0                lea.l      A0, [A6 - 0x40]
  240. 000001F6  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  241. 000001FC  A014                     syscall    GetVol/PBHGetVol/HGetVol
  242. 000001FE  3D40 0010                move.w     [A6 + 0x10], D0
  243. 00000202  226E 0008                movea.l    A1, [A6 + 0x8]
  244. 00000206  32A8 0016                move.w     [A1], [A0 + 0x16]
  245. 0000020A  4E5E                     unlink     A6
  246. 0000020C  225F                     movea.l    A1, [A7]+
  247. 0000020E  508F                     addq.l     A7, 8
  248. 00000210  4ED1                     jmp        [A1]
  249. export_16:
  250. 00000212  4E56 FFC0                link       A6, -0x0040
  251. 00000216  41EE FFC0                lea.l      A0, [A6 - 0x40]
  252. 0000021A  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  253. 00000220  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  254. 00000226  A015                     syscall    SetVol/PBHSetVol/HSetVol
  255. 00000228  3D40 000E                move.w     [A6 + 0xE], D0
  256. 0000022C  4E5E                     unlink     A6
  257. 0000022E  225F                     movea.l    A1, [A7]+
  258. 00000230  5C8F                     addq.l     A7, 6
  259. 00000232  4ED1                     jmp        [A1]
  260. export_15:
  261. 00000234  4E56 FFC0                link       A6, -0x0040
  262. 00000238  41EE FFC0                lea.l      A0, [A6 - 0x40]
  263. 0000023C  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  264. 00000242  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  265. 00000248  A013                     syscall    FlushVol
  266. 0000024A  3D40 000E                move.w     [A6 + 0xE], D0
  267. 0000024E  4E5E                     unlink     A6
  268. 00000250  225F                     movea.l    A1, [A7]+
  269. 00000252  5C8F                     addq.l     A7, 6
  270. 00000254  4ED1                     jmp        [A1]
  271. export_14:
  272. 00000256  4E56 FFCE                link       A6, -0x0032
  273. 0000025A  41EE FFCE                lea.l      A0, [A6 - 0x32]
  274. 0000025E  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  275. 00000264  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  276. 0000026A  4228 001A                clr.b      [A0 + 0x1A]
  277. 0000026E  A009                     syscall    Delete/PBHDelete/HDelete
  278. 00000270  3D40 000E                move.w     [A6 + 0xE], D0
  279. 00000274  4E5E                     unlink     A6
  280. 00000276  225F                     movea.l    A1, [A7]+
  281. 00000278  5C8F                     addq.l     A7, 6
  282. 0000027A  4ED1                     jmp        [A1]
  283. export_13:
  284. 0000027C  4E56 FFB0                link       A6, -0x0050
  285. 00000280  41EE FFB0                lea.l      A0, [A6 - 0x50]
  286. 00000284  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  287. 0000028A  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  288. 00000290  4228 001A                clr.b      [A0 + 0x1A]
  289. 00000294  4268 001C                clr.w      [A0 + 0x1C]
  290. 00000298  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  291. 0000029A  43E8 0020                lea.l      A1, [A0 + 0x20]
  292. 0000029E  206E 0008                movea.l    A0, [A6 + 0x8]
  293. 000002A2  7010                     moveq.l    D0, 0x10
  294. 000002A4  A02E                     syscall    BlockMove/BlockMoveData
  295. 000002A6  41EE FFB0                lea.l      A0, [A6 - 0x50]
  296. 000002AA  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  297. 000002AC  3D40 0012                move.w     [A6 + 0x12], D0
  298. 000002B0  4E5E                     unlink     A6
  299. 000002B2  225F                     movea.l    A1, [A7]+
  300. 000002B4  DFFC 0000 000A           add.l      A7, 0xA /* '\n' */
  301. 000002BA  4ED1                     jmp        [A1]
  302. export_12:
  303. 000002BC  2078 00E4                movea.l    A0, [0x000000E4]
  304. 000002C0  B1F8 02AE                cmpa.l     A0, [0x000002AE /* ROMBase */]
  305. 000002C4  651E                     bcs        +0x20 /* 000002E4 */
  306. 000002C6  703A                     moveq.l    D0, 0x3A
  307. 000002C8  A322                     syscall    NewHandleClear, flags=3
  308. 000002CA  6600 00D2                bne        +0xD4 /* 0000039E */
  309. 000002CE  A029                     syscall    HLock
  310. 000002D0  21C8 00E4                move.l     [0x000000E4], A0
  311. 000002D4  2250                     movea.l    A1, [A0]
  312. 000002D6  2378 033C 0034           move.l     [A1 + 0x34], [0x0000033C /* IAZNotify */]
  313. 000002DC  43FA 0102                lea.l      A1, [PC + 0x102 /* 000003E0, value 0x61E42038 */]
  314. 000002E0  21C9 033C                move.l     [0x0000033C /* IAZNotify */], A1
  315. label000002E4:
  316. 000002E4  2250                     movea.l    A1, [A0]
  317. 000002E6  4A69 0010                tst.w      [A1 + 0x10]
  318. 000002EA  6F7E                     ble        +0x80 /* 0000036A */
  319. 000002EC  222F 0004                move.l     D1, [A7 + 0x4]
  320. 000002F0  6B72                     bmi        +0x74 /* 00000364 */
  321. 000002F2  50E9 0039                st         [A1 + 0x39]
  322. 000002F6  3229 0032                move.w     D1, [A1 + 0x32]
  323. 000002FA  2408                     move.l     D2, A0
  324. 000002FC  48E7 6000                movem.l    -[A7], D1,D2
  325. 00000300  A9E1                     syscall    HandToHand
  326. 00000302  4CDF 0006                movem.l    D1,D2, [A7]+
  327. 00000306  4A40                     tst.w      D0
  328. 00000308  6600 0094                bne        +0x96 /* 0000039E */
  329. 0000030C  7000                     moveq.l    D0, 0x00
  330. 0000030E  0641 000C                addi.w     D1, 0xC
  331. 00000312  3001                     move.w     D0, D1
  332. 00000314  A024                     syscall    SetHandleSize
  333. 00000316  6600 0086                bne        +0x88 /* 0000039E */
  334. 0000031A  A029                     syscall    HLock
  335. 0000031C  21C8 00E4                move.l     [0x000000E4], A0
  336. 00000320  2250                     movea.l    A1, [A0]
  337. 00000322  2078 027A                movea.l    A0, [0x0000027A /* SoundDCE */]
  338. 00000326  2149 0008                move.l     [A0 + 0x8], A1
  339. 0000032A  2149 000C                move.l     [A0 + 0xC], A1
  340. 0000032E  2042                     movea.l    A0, D2
  341. 00000330  2050                     movea.l    A0, [A0]
  342. 00000332  1028 0038                move.b     D0, [A0 + 0x38]
  343. 00000336  8129 0038                or.b       [A1 + 0x38], D0
  344. 0000033A  2042                     movea.l    A0, D2
  345. 0000033C  A023                     syscall    DisposHandle/DisposeHandle
  346. 0000033E  3341 0032                move.w     [A1 + 0x32], D1
  347. 00000342  08A9 0000 0038           bclr.b     [A1 + 0x38], 0x0
  348. 00000348  6708                     beq        +0xA /* 00000352 */
  349. 0000034A  4269 0010                clr.w      [A1 + 0x10]
  350. 0000034E  4EBA 009C                jsr        [PC + 0x9C /* 000003EC */]
  351. label00000352:
  352. 00000352  51E9 0039                sf         [A1 + 0x39]
  353. 00000356  D2C1                     add.w      A1, D1
  354. 00000358  700C                     moveq.l    D0, 0x0C
  355. 0000035A  92C0                     sub.w      A1, D0
  356. 0000035C  41EF 0004                lea.l      A0, [A7 + 0x4]
  357. 00000360  A02E                     syscall    BlockMove/BlockMoveData
  358. 00000362  603E                     bra        +0x40 /* 000003A2 */
  359. label00000364:
  360. 00000364  3028 0010                move.w     D0, [A0 + 0x10]
  361. 00000368  6EFA                     bgt        -0x4 /* 00000364 */
  362. label0000036A:
  363. 0000036A  2049                     movea.l    A0, A1
  364. 0000036C  317C 003A 0032           move.w     [A0 + 0x32], 0x3A /* ':' */
  365. 00000372  216F 0008 0024           move.l     [A0 + 0x24], [A7 + 0x8]
  366. 00000378  216F 000C 0020           move.l     [A0 + 0x20], [A7 + 0xC]
  367. 0000037E  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  368. 00000384  222F 0004                move.l     D1, [A7 + 0x4]
  369. 00000388  6A04                     bpl        +0x6 /* 0000038E */
  370. 0000038A  A003                     syscall    Write
  371. 0000038C  600E                     bra        +0x10 /* 0000039C */
  372. label0000038E:
  373. 0000038E  2141 001C                move.l     [A0 + 0x1C], D1
  374. 00000392  43FA 0058                lea.l      A1, [PC + 0x58 /* 000003EC, value 0x48E7E0C0 */]
  375. 00000396  2149 000C                move.l     [A0 + 0xC], A1
  376. 0000039A  A403                     syscall    Write, flags=4
  377. label0000039C:
  378. 0000039C  4A40                     tst.w      D0
  379. label0000039E:
  380. 0000039E  6702                     beq        +0x4 /* 000003A2 */
  381. 000003A0  6108                     bsr        +0xA /* 000003AA */
  382. label000003A2:
  383. 000003A2  225F                     movea.l    A1, [A7]+
  384. 000003A4  DEFC 000C                add.w      A7, 0xC
  385. 000003A8  4ED1                     jmp        [A1]
  386. fn000003AA:
  387. 000003AA  2078 00E4                movea.l    A0, [0x000000E4]
  388. 000003AE  B1F8 02AE                cmpa.l     A0, [0x000002AE /* ROMBase */]
  389. 000003B2  6410                     bcc        +0x12 /* 000003C4 */
  390. 000003B4  2250                     movea.l    A1, [A0]
  391. 000003B6  21E9 0034 033C           move.l     [0x0000033C /* IAZNotify */], [A1 + 0x34]
  392. 000003BC  A023                     syscall    DisposHandle/DisposeHandle
  393. 000003BE  31F8 02AE 00E4           move.w     [0x000000E4], [0x000002AE /* ROMBase */]
  394. label000003C4:
  395. 000003C4  4E75                     rts
  396. fn000003C6:
  397. 000003C6  4E56 FFE0                link       A6, -0x0020
  398. 000003CA  41EE FFE0                lea.l      A0, [A6 - 0x20]
  399. 000003CE  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  400. 000003D4  A206                     syscall    KillIO, flags=2
  401. 000003D6  4278 0280                clr.w      [0x00000280 /* CurPitch */]
  402. 000003DA  61CE                     bsr        -0x30 /* 000003AA */
  403. 000003DC  4E5E                     unlink     A6
  404. label000003DE:
  405. 000003DE  4E75                     rts
  406. 000003E0  61E4                     bsr        -0x1A /* 000003C6 */
  407. 000003E2  2038 033C                move.l     D0, [0x0000033C /* IAZNotify */]
  408. 000003E6  6FF6                     ble        -0x8 /* 000003DE */
  409. 000003E8  2040                     movea.l    A0, D0
  410. 000003EA  4ED0                     jmp        [A0]
  411. fn000003EC:
  412. 000003EC  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  413. 000003F0  2078 00E4                movea.l    A0, [0x000000E4]
  414. 000003F4  2050                     movea.l    A0, [A0]
  415. 000003F6  4A28 0039                tst.b      [A0 + 0x39]
  416. 000003FA  6706                     beq        +0x8 /* 00000402 */
  417. 000003FC  50E8 0038                st         [A0 + 0x38]
  418. 00000400  6062                     bra        +0x64 /* 00000464 */
  419. label00000402:
  420. 00000402  3028 0032                move.w     D0, [A0 + 0x32]
  421. 00000406  2228 001C                move.l     D1, [A0 + 0x1C]
  422. 0000040A  670C                     beq        +0xE /* 00000418 */
  423. 0000040C  2241                     movea.l    A1, D1
  424. 0000040E  48E7 8080                movem.l    -[A7], D0,A0
  425. 00000412  4E91                     jsr        [A1]
  426. 00000414  4CDF 0101                movem.l    D0,A0, [A7]+
  427. label00000418:
  428. 00000418  0C40 003A                cmpi.w     D0, 0x3A /* ':' */
  429. 0000041C  6746                     beq        +0x48 /* 00000464 */
  430. 0000041E  2248                     movea.l    A1, A0
  431. 00000420  41E8 003A                lea.l      A0, [A0 + 0x3A]
  432. 00000424  2358 001C                move.l     [A1 + 0x1C], [A0]+
  433. 00000428  2358 0024                move.l     [A1 + 0x24], [A0]+
  434. 0000042C  2358 0020                move.l     [A1 + 0x20], [A0]+
  435. 00000430  337C FFFC 0018           move.w     [A1 + 0x18], 0xFFFC
  436. 00000436  7246                     moveq.l    D1, 0x46
  437. 00000438  9041                     sub.w      D0, D1
  438. 0000043A  6712                     beq        +0x14 /* 0000044E */
  439. 0000043C  3200                     move.w     D1, D0
  440. 0000043E  48C0                     ext.l      D0
  441. 00000440  2248                     movea.l    A1, A0
  442. 00000442  92FC 000C                sub.w      A1, 0xC
  443. 00000446  A02E                     syscall    BlockMove/BlockMoveData
  444. 00000448  0641 003A                addi.w     D1, 0x3A /* ':' */
  445. 0000044C  6002                     bra        +0x4 /* 00000450 */
  446. label0000044E:
  447. 0000044E  723A                     moveq.l    D1, 0x3A
  448. label00000450:
  449. 00000450  2078 00E4                movea.l    A0, [0x000000E4]
  450. 00000454  2050                     movea.l    A0, [A0]
  451. 00000456  3141 0032                move.w     [A0 + 0x32], D1
  452. 0000045A  43FA FF90                lea.l      A1, [PC - 0x70 /* 000003EC, value 0x48E7E0C0 */]
  453. 0000045E  2149 000C                move.l     [A0 + 0xC], A1
  454. 00000462  A403                     syscall    Write, flags=4
  455. label00000464:
  456. 00000464  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  457. 00000468  4E75                     rts
  458. export_11:
  459. 0000046A  225F                     movea.l    A1, [A7]+
  460. 0000046C  50D7                     st         [A7]
  461. 0000046E  2078 00E4                movea.l    A0, [0x000000E4]
  462. 00000472  B1F8 02AE                cmpa.l     A0, [0x000002AE /* ROMBase */]
  463. 00000476  6408                     bcc        +0xA /* 00000480 */
  464. 00000478  2050                     movea.l    A0, [A0]
  465. 0000047A  4A68 0010                tst.w      [A0 + 0x10]
  466. 0000047E  5FD7                     sle        [A7]
  467. label00000480:
  468. 00000480  4417                     neg.b      [A7]
  469. 00000482  4ED1                     jmp        [A1]
  470. export_10:
  471. 00000484  226F 0004                movea.l    A1, [A7 + 0x4]
  472. 00000488  4251                     clr.w      [A1]
  473. 0000048A  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  474. 0000048E  A025                     syscall    GetHandleSize
  475. 00000490  6F0E                     ble        +0x10 /* 000004A0 */
  476. 00000492  2050                     movea.l    A0, [A0]
  477. 00000494  226F 0008                movea.l    A1, [A7 + 0x8]
  478. 00000498  3298                     move.w     [A1], [A0]+
  479. 0000049A  226F 0004                movea.l    A1, [A7 + 0x4]
  480. 0000049E  3290                     move.w     [A1], [A0]
  481. label000004A0:
  482. 000004A0  205F                     movea.l    A0, [A7]+
  483. 000004A2  504F                     addq.w     A7, 8
  484. 000004A4  4ED0                     jmp        [A0]
  485. export_9:
  486. 000004A6  48E7 0030                movem.l    -[A7], A2,A3
  487. 000004AA  226F 000C                movea.l    A1, [A7 + 0xC]
  488. 000004AE  42A9 0002                clr.l      [A1 + 0x2]
  489. 000004B2  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  490. 000004B6  A025                     syscall    GetHandleSize
  491. 000004B8  6F26                     ble        +0x28 /* 000004E0 */
  492. 000004BA  2450                     movea.l    A2, [A0]
  493. 000004BC  544A                     addq.w     A2, 2
  494. 000004BE  322F 0010                move.w     D1, [A7 + 0x10]
  495. 000004C2  B25A                     cmp.w      D1, [A2]+
  496. 000004C4  6E1A                     bgt        +0x1C /* 000004E0 */
  497. 000004C6  5341                     subq.w     D1, 1
  498. label000004C8:
  499. 000004C8  6D16                     blt        +0x18 /* 000004E0 */
  500. 000004CA  204A                     movea.l    A0, A2
  501. 000004CC  7002                     moveq.l    D0, 0x02
  502. 000004CE  D028 0008                add.b      D0, [A0 + 0x8]
  503. 000004D2  0240 FFFE                andi.w     D0, 0xFFFE
  504. 000004D6  5040                     addq.w     D0, 8
  505. 000004D8  D4C0                     add.w      A2, D0
  506. 000004DA  A02E                     syscall    BlockMove/BlockMoveData
  507. 000004DC  5341                     subq.w     D1, 1
  508. 000004DE  60E8                     bra        -0x16 /* 000004C8 */
  509. label000004E0:
  510. 000004E0  4CDF 0C00                movem.l    A2,A3, [A7]+
  511. 000004E4  205F                     movea.l    A0, [A7]+
  512. 000004E6  5C4F                     addq.w     A7, 6
  513. 000004E8  4ED0                     jmp        [A0]
  514. export_8:
  515. 000004EA  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  516. 000004EE  A025                     syscall    GetHandleSize
  517. 000004F0  6F28                     ble        +0x2A /* 0000051A */
  518. 000004F2  2050                     movea.l    A0, [A0]
  519. 000004F4  5448                     addq.w     A0, 2
  520. 000004F6  322F 0004                move.w     D1, [A7 + 0x4]
  521. 000004FA  B258                     cmp.w      D1, [A0]+
  522. 000004FC  6E1C                     bgt        +0x1E /* 0000051A */
  523. 000004FE  5341                     subq.w     D1, 1
  524. label00000500:
  525. 00000500  6D18                     blt        +0x1A /* 0000051A */
  526. 00000502  6712                     beq        +0x14 /* 00000516 */
  527. 00000504  7002                     moveq.l    D0, 0x02
  528. 00000506  D028 0008                add.b      D0, [A0 + 0x8]
  529. 0000050A  0240 FFFE                andi.w     D0, 0xFFFE
  530. 0000050E  5040                     addq.w     D0, 8
  531. 00000510  D0C0                     add.w      A0, D0
  532. 00000512  5341                     subq.w     D1, 1
  533. 00000514  60EA                     bra        -0x14 /* 00000500 */
  534. label00000516:
  535. 00000516  42A8 0002                clr.l      [A0 + 0x2]
  536. label0000051A:
  537. 0000051A  205F                     movea.l    A0, [A7]+
  538. 0000051C  544F                     addq.w     A7, 2
  539. 0000051E  4ED0                     jmp        [A0]
  540. 00000520  6118                     bsr        +0x1A /* 0000053A */
  541. 00000522  A9DB                     syscall    TEPaste
  542. label00000524:
  543. 00000524  2E9F                     move.l     [A7], [A7]+
  544. 00000526  4E75                     rts
  545. 00000528  6110                     bsr        +0x12 /* 0000053A */
  546. 0000052A  A9D6                     syscall    TECut
  547. 0000052C  60F6                     bra        -0x8 /* 00000524 */
  548. 0000052E  610A                     bsr        +0xC /* 0000053A */
  549. 00000530  A9D5                     syscall    TECopy
  550. 00000532  60F0                     bra        -0xE /* 00000524 */
  551. export_7:
  552. 00000534  6104                     bsr        +0x6 /* 0000053A */
  553. 00000536  A9D7                     syscall    TEDelete
  554. 00000538  60EA                     bra        -0x14 /* 00000524 */
  555. fn0000053A:
  556. 0000053A  206F 0008                movea.l    A0, [A7 + 0x8]
  557. 0000053E  4A68 00A4                tst.w      [A0 + 0xA4]
  558. 00000542  6B08                     bmi        +0xA /* 0000054C */
  559. 00000544  225F                     movea.l    A1, [A7]+
  560. 00000546  2F28 00A0                move.l     -[A7], [A0 + 0xA0]
  561. 0000054A  4ED1                     jmp        [A1]
  562. label0000054C:
  563. 0000054C  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  564. 00000550  4ED0                     jmp        [A0]
  565. 00000552  7401                     moveq.l    D2, 0x01
  566. label00000554:
  567. 00000554  205F                     movea.l    A0, [A7]+
  568. 00000556  3F02                     move.w     -[A7], D2
  569. 00000558  2F08                     move.l     -[A7], A0
  570. 0000055A  ADEA                     syscall    Pack3, auto_pop
  571. export_6:
  572. 0000055C  7402                     moveq.l    D2, 0x02
  573. 0000055E  4EFA FFF4                jmp        [PC - 0xC /* 00000554 */]
  574. 00000562  7406                     moveq.l    D2, 0x06
  575. label00000564:
  576. 00000564  205F                     movea.l    A0, [A7]+
  577. 00000566  3F02                     move.w     -[A7], D2
  578. 00000568  2F08                     move.l     -[A7], A0
  579. 0000056A  ADED                     syscall    Pack6, auto_pop
  580. export_5:
  581. 0000056C  7400                     moveq.l    D2, 0x00
  582. 0000056E  4EFA FFF4                jmp        [PC - 0xC /* 00000564 */]
  583. export_4:
  584. 00000572  7402                     moveq.l    D2, 0x02
  585. 00000574  4EFA FFEE                jmp        [PC - 0x12 /* 00000564 */]
  586. export_3:
  587. 00000578  206F 0008                movea.l    A0, [A7 + 0x8]
  588. 0000057C  3F3C 0001                move.w     -[A7], 0x1
  589. 00000580  A9EE                     syscall    Pack7/DecStr68K
  590. 00000582  206F 0004                movea.l    A0, [A7 + 0x4]
  591. 00000586  2080                     move.l     [A0], D0
  592. 00000588  4EFA 0010                jmp        [PC + 0x10 /* 0000059A */]
  593. export_2:
  594. 0000058C  206F 0004                movea.l    A0, [A7 + 0x4]
  595. 00000590  202F 0008                move.l     D0, [A7 + 0x8]
  596. 00000594  3F3C 0000                move.w     -[A7], 0x0
  597. 00000598  A9EE                     syscall    Pack7/DecStr68K
  598. label0000059A:
  599. 0000059A  205F                     movea.l    A0, [A7]+
  600. 0000059C  504F                     addq.w     A7, 8
  601. 0000059E  4ED0                     jmp        [A0]
  602. fn000005A0:
  603. 000005A0  4E56 FFF0                link       A6, -0x0010
  604. 000005A4  48E7 0108                movem.l    -[A7], D7,A4
  605. 000005A8  0C6E 0000 000C           cmpi.w     [A6 + 0xC], 0x0
  606. 000005AE  6F00 0036                ble        +0x38 /* 000005E6 */
  607. 000005B2  286E 0008                movea.l    A4, [A6 + 0x8]
  608. 000005B6  2D6C FEE0 FFFC           move.l     [A6 - 0x4], [A4 - 0x120]
  609. 000005BC  486E FFF4                pea.l      [A6 - 0xC]
  610. 000005C0  3F3C 008A                move.w     -[A7], 0x8A
  611. 000005C4  3E3C 011E                move.w     D7, 0x11E
  612. 000005C8  9E6E 000C                sub.w      D7, [A6 + 0xC]
  613. 000005CC  3F07                     move.w     -[A7], D7
  614. 000005CE  3F3C 00E8                move.w     -[A7], 0xE8
  615. 000005D2  3E2E 000C                move.w     D7, [A6 + 0xC]
  616. 000005D6  CFFC 0006                muls.w     D7, 0x6
  617. 000005DA  0647 011E                addi.w     D7, 0x11E
  618. 000005DE  3F07                     move.w     -[A7], D7
  619. 000005E0  A8A7                     syscall    SetRect
  620. 000005E2  4EFA 0032                jmp        [PC + 0x32 /* 00000616 */]
  621. label000005E6:
  622. 000005E6  286E 0008                movea.l    A4, [A6 + 0x8]
  623. 000005EA  2D6C FEDC FFFC           move.l     [A6 - 0x4], [A4 - 0x124]
  624. 000005F0  486E FFF4                pea.l      [A6 - 0xC]
  625. 000005F4  3F3C 008A                move.w     -[A7], 0x8A
  626. 000005F8  3E2E 000C                move.w     D7, [A6 + 0xC]
  627. 000005FC  CFFC 0006                muls.w     D7, 0x6
  628. 00000600  0647 011E                addi.w     D7, 0x11E
  629. 00000604  3F07                     move.w     -[A7], D7
  630. 00000606  3F3C 00E8                move.w     -[A7], 0xE8
  631. 0000060A  3E3C 011E                move.w     D7, 0x11E
  632. 0000060E  9E6E 000C                sub.w      D7, [A6 + 0xC]
  633. 00000612  3F07                     move.w     -[A7], D7
  634. 00000614  A8A7                     syscall    SetRect
  635. label00000616:
  636. 00000616  A8DA                     syscall    OpenRgn
  637. 00000618  486E FFF4                pea.l      [A6 - 0xC]
  638. 0000061C  A8B7                     syscall    FrameOval
  639. 0000061E  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  640. 00000622  A8DB                     syscall    CloseRgn
  641. 00000624  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  642. 00000628  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  643. 0000062C  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  644. 00000630  A8E4                     syscall    SectRgn
  645. 00000632  4CDF 1080                movem.l    D7,A4, [A7]+
  646. 00000636  4E5E                     unlink     A6
  647. 00000638  205F                     movea.l    A0, [A7]+
  648. 0000063A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  649. 0000063E  4ED0                     jmp        [A0]
  650. fn00000640:
  651. 00000640  4E56 0000                link       A6, 0
  652. 00000644  48E7 0118                movem.l    -[A7], D7,A3,A4
  653. 00000648  286E 0008                movea.l    A4, [A6 + 0x8]
  654. 0000064C  266E 0008                movea.l    A3, [A6 + 0x8]
  655. 00000650  296B FED4 FEF8           move.l     [A4 - 0x108], [A3 - 0x12C]
  656. 00000656  296B FED8 FEFC           move.l     [A4 - 0x104], [A3 - 0x128]
  657. 0000065C  286E 0008                movea.l    A4, [A6 + 0x8]
  658. 00000660  266E 0008                movea.l    A3, [A6 + 0x8]
  659. 00000664  486B FEF8                pea.l      [A3 - 0x108]
  660. 00000668  3E3C 008A                move.w     D7, 0x8A
  661. 0000066C  DE6C FF12                add.w      D7, [A4 - 0xEE]
  662. 00000670  3F07                     move.w     -[A7], D7
  663. 00000672  3E3C 00FE                move.w     D7, 0xFE
  664. 00000676  9E6C FF10                sub.w      D7, [A4 - 0xF0]
  665. 0000067A  3F07                     move.w     -[A7], D7
  666. 0000067C  A8A8                     syscall    OffsetRect
  667. 0000067E  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  668. 00000682  4E5E                     unlink     A6
  669. 00000684  2E9F                     move.l     [A7], [A7]+
  670. 00000686  4E75                     rts
  671. fn00000688:
  672. 00000688  4E56 0000                link       A6, 0
  673. 0000068C  48E7 0108                movem.l    -[A7], D7,A4
  674. 00000690  286E 0008                movea.l    A4, [A6 + 0x8]
  675. 00000694  2F2C FEE8                move.l     -[A7], [A4 - 0x118]
  676. 00000698  286E 0008                movea.l    A4, [A6 + 0x8]
  677. 0000069C  3F2C FF14                move.w     -[A7], [A4 - 0xEC]
  678. 000006A0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  679. 000006A4  4EBA FEFA                jsr        [PC - 0x106 /* 000005A0 */]
  680. 000006A8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  681. 000006AC  4EBA FF92                jsr        [PC - 0x6E /* 00000640 */]
  682. 000006B0  286E 0008                movea.l    A4, [A6 + 0x8]
  683. 000006B4  2F2C FEE4                move.l     -[A7], [A4 - 0x11C]
  684. 000006B8  286E 0008                movea.l    A4, [A6 + 0x8]
  685. 000006BC  2F2C FEE8                move.l     -[A7], [A4 - 0x118]
  686. 000006C0  286E 0008                movea.l    A4, [A6 + 0x8]
  687. 000006C4  2F2C FEF0                move.l     -[A7], [A4 - 0x110]
  688. 000006C8  A8E7                     syscall    XorRgn
  689. 000006CA  286E 0008                movea.l    A4, [A6 + 0x8]
  690. 000006CE  2F2C FEF0                move.l     -[A7], [A4 - 0x110]
  691. 000006D2  286E 0008                movea.l    A4, [A6 + 0x8]
  692. 000006D6  2F2C FEEC                move.l     -[A7], [A4 - 0x114]
  693. 000006DA  A8DC                     syscall    CopyRgn
  694. 000006DC  286E 0008                movea.l    A4, [A6 + 0x8]
  695. 000006E0  2F2C FEEC                move.l     -[A7], [A4 - 0x114]
  696. 000006E4  3F3C 0001                move.w     -[A7], 0x1
  697. 000006E8  3F3C 0001                move.w     -[A7], 0x1
  698. 000006EC  A8E1                     syscall    InsetRgn
  699. 000006EE  286E 0008                movea.l    A4, [A6 + 0x8]
  700. 000006F2  2F2C FEF4                move.l     -[A7], [A4 - 0x10C]
  701. 000006F6  286E 0008                movea.l    A4, [A6 + 0x8]
  702. 000006FA  486C FF08                pea.l      [A4 - 0xF8]
  703. 000006FE  A8DF                     syscall    RectRgn
  704. 00000700  286E 0008                movea.l    A4, [A6 + 0x8]
  705. 00000704  2F2C FEF4                move.l     -[A7], [A4 - 0x10C]
  706. 00000708  286E 0008                movea.l    A4, [A6 + 0x8]
  707. 0000070C  2F2C FEF0                move.l     -[A7], [A4 - 0x110]
  708. 00000710  286E 0008                movea.l    A4, [A6 + 0x8]
  709. 00000714  2F2C FEF4                move.l     -[A7], [A4 - 0x10C]
  710. 00000718  A8E6                     syscall    DiffRgn
  711. 0000071A  286E 0008                movea.l    A4, [A6 + 0x8]
  712. 0000071E  2F2C FEF0                move.l     -[A7], [A4 - 0x110]
  713. 00000722  A8D2                     syscall    FrameRgn
  714. 00000724  286E 0008                movea.l    A4, [A6 + 0x8]
  715. 00000728  486C FECE                pea.l      [A4 - 0x132]
  716. 0000072C  286E 0008                movea.l    A4, [A6 + 0x8]
  717. 00000730  286C FF18                movea.l    A4, [A4 - 0xE8]
  718. 00000734  486C 0002                pea.l      [A4 + 0x2]
  719. 00000738  286E 0008                movea.l    A4, [A6 + 0x8]
  720. 0000073C  486C FED4                pea.l      [A4 - 0x12C]
  721. 00000740  286E 0008                movea.l    A4, [A6 + 0x8]
  722. 00000744  486C FEF8                pea.l      [A4 - 0x108]
  723. 00000748  4267                     clr.w      -[A7]
  724. 0000074A  286E 0008                movea.l    A4, [A6 + 0x8]
  725. 0000074E  2F2C FEEC                move.l     -[A7], [A4 - 0x114]
  726. 00000752  A8EC                     syscall    CopyBits
  727. 00000754  286E 0008                movea.l    A4, [A6 + 0x8]
  728. 00000758  2F2C FEF4                move.l     -[A7], [A4 - 0x10C]
  729. 0000075C  A8D4                     syscall    EraseRgn
  730. 0000075E  286E 0008                movea.l    A4, [A6 + 0x8]
  731. 00000762  286C FF18                movea.l    A4, [A4 - 0xE8]
  732. 00000766  486C 0002                pea.l      [A4 + 0x2]
  733. 0000076A  286E 0008                movea.l    A4, [A6 + 0x8]
  734. 0000076E  286C FF18                movea.l    A4, [A4 - 0xE8]
  735. 00000772  486C 0002                pea.l      [A4 + 0x2]
  736. 00000776  286E 0008                movea.l    A4, [A6 + 0x8]
  737. 0000077A  486C FF08                pea.l      [A4 - 0xF8]
  738. 0000077E  286E 0008                movea.l    A4, [A6 + 0x8]
  739. 00000782  486C FF00                pea.l      [A4 - 0x100]
  740. 00000786  4267                     clr.w      -[A7]
  741. 00000788  42A7                     clr.l      -[A7]
  742. 0000078A  A8EC                     syscall    CopyBits
  743. 0000078C  4CDF 1080                movem.l    D7,A4, [A7]+
  744. 00000790  4E5E                     unlink     A6
  745. 00000792  2E9F                     move.l     [A7], [A7]+
  746. 00000794  4E75                     rts
  747. fn00000796:
  748. 00000796  4E56 0000                link       A6, 0
  749. 0000079A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  750. 0000079E  286E 0008                movea.l    A4, [A6 + 0x8]
  751. label000007A2:
  752. 000007A2  4A6C FF12                tst.w      [A4 - 0xEE]
  753. 000007A6  56C7                     sne        D7
  754. 000007A8  4407                     neg.b      D7
  755. 000007AA  0C6C FFF8 FF10           cmpi.w     [A4 - 0xF0], 0xFFF8
  756. 000007B0  5EC6                     sgt        D6
  757. 000007B2  4406                     neg.b      D6
  758. 000007B4  8C07                     or.b       D6, D7
  759. 000007B6  6700 005E                beq        +0x60 /* 00000816 */
  760. 000007BA  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  761. 000007C0  6F00 0010                ble        +0x12 /* 000007D2 */
  762. 000007C4  3E2C FF12                move.w     D7, [A4 - 0xEE]
  763. 000007C8  5947                     subq.w     D7, 4
  764. 000007CA  3947 FF12                move.w     [A4 - 0xEE], D7
  765. 000007CE  4EFA 0016                jmp        [PC + 0x16 /* 000007E6 */]
  766. label000007D2:
  767. 000007D2  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  768. 000007D8  6C00 000C                bge        +0xE /* 000007E6 */
  769. 000007DC  3E2C FF12                move.w     D7, [A4 - 0xEE]
  770. 000007E0  5847                     addq.w     D7, 4
  771. 000007E2  3947 FF12                move.w     [A4 - 0xEE], D7
  772. label000007E6:
  773. 000007E6  0C6C FFF8 FF10           cmpi.w     [A4 - 0xF0], 0xFFF8
  774. 000007EC  6F00 000C                ble        +0xE /* 000007FA */
  775. 000007F0  3E2C FF10                move.w     D7, [A4 - 0xF0]
  776. 000007F4  5547                     subq.w     D7, 2
  777. 000007F6  3947 FF10                move.w     [A4 - 0xF0], D7
  778. label000007FA:
  779. 000007FA  266E 0008                movea.l    A3, [A6 + 0x8]
  780. 000007FE  3E2C FF10                move.w     D7, [A4 - 0xF0]
  781. 00000802  0647 000E                addi.w     D7, 0xE
  782. 00000806  3747 FF14                move.w     [A3 - 0xEC], D7
  783. 0000080A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  784. 0000080E  4EBA FE78                jsr        [PC - 0x188 /* 00000688 */]
  785. 00000812  4EFA FF8E                jmp        [PC - 0x72 /* 000007A2 */]
  786. label00000816:
  787. 00000816  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  788. 0000081A  4E5E                     unlink     A6
  789. 0000081C  2E9F                     move.l     [A7], [A7]+
  790. 0000081E  4E75                     rts
  791. fn00000820:
  792. 00000820  4E56 0000                link       A6, 0
  793. 00000824  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  794. 00000828  286E 0008                movea.l    A4, [A6 + 0x8]
  795. label0000082C:
  796. 0000082C  4A6C FF12                tst.w      [A4 - 0xEE]
  797. 00000830  56C7                     sne        D7
  798. 00000832  4407                     neg.b      D7
  799. 00000834  0C6C 0008 FF10           cmpi.w     [A4 - 0xF0], 0x8
  800. 0000083A  5DC6                     slt        D6
  801. 0000083C  4406                     neg.b      D6
  802. 0000083E  8C07                     or.b       D6, D7
  803. 00000840  6700 005E                beq        +0x60 /* 000008A0 */
  804. 00000844  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  805. 0000084A  6F00 0010                ble        +0x12 /* 0000085C */
  806. 0000084E  3E2C FF12                move.w     D7, [A4 - 0xEE]
  807. 00000852  5947                     subq.w     D7, 4
  808. 00000854  3947 FF12                move.w     [A4 - 0xEE], D7
  809. 00000858  4EFA 0016                jmp        [PC + 0x16 /* 00000870 */]
  810. label0000085C:
  811. 0000085C  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  812. 00000862  6C00 000C                bge        +0xE /* 00000870 */
  813. 00000866  3E2C FF12                move.w     D7, [A4 - 0xEE]
  814. 0000086A  5847                     addq.w     D7, 4
  815. 0000086C  3947 FF12                move.w     [A4 - 0xEE], D7
  816. label00000870:
  817. 00000870  0C6C 0008 FF10           cmpi.w     [A4 - 0xF0], 0x8
  818. 00000876  6C00 000C                bge        +0xE /* 00000884 */
  819. 0000087A  3E2C FF10                move.w     D7, [A4 - 0xF0]
  820. 0000087E  5447                     addq.w     D7, 2
  821. 00000880  3947 FF10                move.w     [A4 - 0xF0], D7
  822. label00000884:
  823. 00000884  266E 0008                movea.l    A3, [A6 + 0x8]
  824. 00000888  3E2C FF10                move.w     D7, [A4 - 0xF0]
  825. 0000088C  0647 000E                addi.w     D7, 0xE
  826. 00000890  3747 FF14                move.w     [A3 - 0xEC], D7
  827. 00000894  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  828. 00000898  4EBA FDEE                jsr        [PC - 0x212 /* 00000688 */]
  829. 0000089C  4EFA FF8E                jmp        [PC - 0x72 /* 0000082C */]
  830. label000008A0:
  831. 000008A0  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  832. 000008A4  4E5E                     unlink     A6
  833. 000008A6  2E9F                     move.l     [A7], [A7]+
  834. 000008A8  4E75                     rts
  835. fn000008AA:
  836. 000008AA  4E56 0000                link       A6, 0
  837. 000008AE  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  838. 000008B2  286E 0008                movea.l    A4, [A6 + 0x8]
  839. label000008B6:
  840. 000008B6  0C6C FFF0 FF12           cmpi.w     [A4 - 0xEE], 0xFFF0
  841. 000008BC  5EC7                     sgt        D7
  842. 000008BE  4407                     neg.b      D7
  843. 000008C0  4A6C FF10                tst.w      [A4 - 0xF0]
  844. 000008C4  56C6                     sne        D6
  845. 000008C6  4406                     neg.b      D6
  846. 000008C8  8C07                     or.b       D6, D7
  847. 000008CA  6700 005E                beq        +0x60 /* 0000092A */
  848. 000008CE  0C6C FFF0 FF12           cmpi.w     [A4 - 0xEE], 0xFFF0
  849. 000008D4  6F00 000C                ble        +0xE /* 000008E2 */
  850. 000008D8  3E2C FF12                move.w     D7, [A4 - 0xEE]
  851. 000008DC  5947                     subq.w     D7, 4
  852. 000008DE  3947 FF12                move.w     [A4 - 0xEE], D7
  853. label000008E2:
  854. 000008E2  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  855. 000008E8  6F00 0010                ble        +0x12 /* 000008FA */
  856. 000008EC  3E2C FF10                move.w     D7, [A4 - 0xF0]
  857. 000008F0  5547                     subq.w     D7, 2
  858. 000008F2  3947 FF10                move.w     [A4 - 0xF0], D7
  859. 000008F6  4EFA 0016                jmp        [PC + 0x16 /* 0000090E */]
  860. label000008FA:
  861. 000008FA  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  862. 00000900  6C00 000C                bge        +0xE /* 0000090E */
  863. 00000904  3E2C FF10                move.w     D7, [A4 - 0xF0]
  864. 00000908  5447                     addq.w     D7, 2
  865. 0000090A  3947 FF10                move.w     [A4 - 0xF0], D7
  866. label0000090E:
  867. 0000090E  266E 0008                movea.l    A3, [A6 + 0x8]
  868. 00000912  3E2C FF10                move.w     D7, [A4 - 0xF0]
  869. 00000916  0647 000E                addi.w     D7, 0xE
  870. 0000091A  3747 FF14                move.w     [A3 - 0xEC], D7
  871. 0000091E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  872. 00000922  4EBA FD64                jsr        [PC - 0x29C /* 00000688 */]
  873. 00000926  4EFA FF8E                jmp        [PC - 0x72 /* 000008B6 */]
  874. label0000092A:
  875. 0000092A  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  876. 0000092E  4E5E                     unlink     A6
  877. 00000930  2E9F                     move.l     [A7], [A7]+
  878. 00000932  4E75                     rts
  879. fn00000934:
  880. 00000934  4E56 0000                link       A6, 0
  881. 00000938  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  882. 0000093C  286E 0008                movea.l    A4, [A6 + 0x8]
  883. label00000940:
  884. 00000940  0C6C 0010 FF12           cmpi.w     [A4 - 0xEE], 0x10
  885. 00000946  5DC7                     slt        D7
  886. 00000948  4407                     neg.b      D7
  887. 0000094A  4A6C FF10                tst.w      [A4 - 0xF0]
  888. 0000094E  56C6                     sne        D6
  889. 00000950  4406                     neg.b      D6
  890. 00000952  8C07                     or.b       D6, D7
  891. 00000954  6700 005E                beq        +0x60 /* 000009B4 */
  892. 00000958  0C6C 0010 FF12           cmpi.w     [A4 - 0xEE], 0x10
  893. 0000095E  6C00 000C                bge        +0xE /* 0000096C */
  894. 00000962  3E2C FF12                move.w     D7, [A4 - 0xEE]
  895. 00000966  5847                     addq.w     D7, 4
  896. 00000968  3947 FF12                move.w     [A4 - 0xEE], D7
  897. label0000096C:
  898. 0000096C  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  899. 00000972  6F00 0010                ble        +0x12 /* 00000984 */
  900. 00000976  3E2C FF10                move.w     D7, [A4 - 0xF0]
  901. 0000097A  5547                     subq.w     D7, 2
  902. 0000097C  3947 FF10                move.w     [A4 - 0xF0], D7
  903. 00000980  4EFA 0016                jmp        [PC + 0x16 /* 00000998 */]
  904. label00000984:
  905. 00000984  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  906. 0000098A  6C00 000C                bge        +0xE /* 00000998 */
  907. 0000098E  3E2C FF10                move.w     D7, [A4 - 0xF0]
  908. 00000992  5447                     addq.w     D7, 2
  909. 00000994  3947 FF10                move.w     [A4 - 0xF0], D7
  910. label00000998:
  911. 00000998  266E 0008                movea.l    A3, [A6 + 0x8]
  912. 0000099C  3E2C FF10                move.w     D7, [A4 - 0xF0]
  913. 000009A0  0647 000E                addi.w     D7, 0xE
  914. 000009A4  3747 FF14                move.w     [A3 - 0xEC], D7
  915. 000009A8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  916. 000009AC  4EBA FCDA                jsr        [PC - 0x326 /* 00000688 */]
  917. 000009B0  4EFA FF8E                jmp        [PC - 0x72 /* 00000940 */]
  918. label000009B4:
  919. 000009B4  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  920. 000009B8  4E5E                     unlink     A6
  921. 000009BA  2E9F                     move.l     [A7], [A7]+
  922. 000009BC  4E75                     rts
  923. fn000009BE:
  924. 000009BE  4E56 0000                link       A6, 0
  925. 000009C2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  926. 000009C6  286E 0008                movea.l    A4, [A6 + 0x8]
  927. label000009CA:
  928. 000009CA  4A6C FF12                tst.w      [A4 - 0xEE]
  929. 000009CE  56C7                     sne        D7
  930. 000009D0  4407                     neg.b      D7
  931. 000009D2  4A6C FF10                tst.w      [A4 - 0xF0]
  932. 000009D6  56C6                     sne        D6
  933. 000009D8  4406                     neg.b      D6
  934. 000009DA  8C07                     or.b       D6, D7
  935. 000009DC  6700 0076                beq        +0x78 /* 00000A54 */
  936. 000009E0  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  937. 000009E6  6F00 0010                ble        +0x12 /* 000009F8 */
  938. 000009EA  3E2C FF12                move.w     D7, [A4 - 0xEE]
  939. 000009EE  5947                     subq.w     D7, 4
  940. 000009F0  3947 FF12                move.w     [A4 - 0xEE], D7
  941. 000009F4  4EFA 0016                jmp        [PC + 0x16 /* 00000A0C */]
  942. label000009F8:
  943. 000009F8  0C6C 0000 FF12           cmpi.w     [A4 - 0xEE], 0x0
  944. 000009FE  6C00 000C                bge        +0xE /* 00000A0C */
  945. 00000A02  3E2C FF12                move.w     D7, [A4 - 0xEE]
  946. 00000A06  5847                     addq.w     D7, 4
  947. 00000A08  3947 FF12                move.w     [A4 - 0xEE], D7
  948. label00000A0C:
  949. 00000A0C  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  950. 00000A12  6F00 0010                ble        +0x12 /* 00000A24 */
  951. 00000A16  3E2C FF10                move.w     D7, [A4 - 0xF0]
  952. 00000A1A  5547                     subq.w     D7, 2
  953. 00000A1C  3947 FF10                move.w     [A4 - 0xF0], D7
  954. 00000A20  4EFA 0016                jmp        [PC + 0x16 /* 00000A38 */]
  955. label00000A24:
  956. 00000A24  0C6C 0000 FF10           cmpi.w     [A4 - 0xF0], 0x0
  957. 00000A2A  6C00 000C                bge        +0xE /* 00000A38 */
  958. 00000A2E  3E2C FF10                move.w     D7, [A4 - 0xF0]
  959. 00000A32  5447                     addq.w     D7, 2
  960. 00000A34  3947 FF10                move.w     [A4 - 0xF0], D7
  961. label00000A38:
  962. 00000A38  266E 0008                movea.l    A3, [A6 + 0x8]
  963. 00000A3C  3E2C FF10                move.w     D7, [A4 - 0xF0]
  964. 00000A40  0647 000E                addi.w     D7, 0xE
  965. 00000A44  3747 FF14                move.w     [A3 - 0xEC], D7
  966. 00000A48  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  967. 00000A4C  4EBA FC3A                jsr        [PC - 0x3C6 /* 00000688 */]
  968. 00000A50  4EFA FF78                jmp        [PC - 0x88 /* 000009CA */]
  969. label00000A54:
  970. 00000A54  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  971. 00000A58  4E5E                     unlink     A6
  972. 00000A5A  2E9F                     move.l     [A7], [A7]+
  973. 00000A5C  4E75                     rts
  974. fn00000A5E:
  975. 00000A5E  4E56 0000                link       A6, 0
  976. 00000A62  48E7 0118                movem.l    -[A7], D7,A3,A4
  977. 00000A66  286E 0008                movea.l    A4, [A6 + 0x8]
  978. 00000A6A  266E 0008                movea.l    A3, [A6 + 0x8]
  979. 00000A6E  3E2B FF10                move.w     D7, [A3 - 0xF0]
  980. 00000A72  0647 0012                addi.w     D7, 0x12
  981. 00000A76  3947 FF14                move.w     [A4 - 0xEC], D7
  982. 00000A7A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  983. 00000A7E  4EBA FC08                jsr        [PC - 0x3F8 /* 00000688 */]
  984. 00000A82  286E 0008                movea.l    A4, [A6 + 0x8]
  985. 00000A86  266E 0008                movea.l    A3, [A6 + 0x8]
  986. 00000A8A  3E2B FF10                move.w     D7, [A3 - 0xF0]
  987. 00000A8E  0647 000E                addi.w     D7, 0xE
  988. 00000A92  3947 FF14                move.w     [A4 - 0xEC], D7
  989. 00000A96  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  990. 00000A9A  4EBA FBEC                jsr        [PC - 0x414 /* 00000688 */]
  991. 00000A9E  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  992. 00000AA2  4E5E                     unlink     A6
  993. 00000AA4  2E9F                     move.l     [A7], [A7]+
  994. 00000AA6  4E75                     rts
  995. fn00000AA8:
  996. 00000AA8  4E56 0000                link       A6, 0
  997. 00000AAC  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  998. label00000AB0:
  999. 00000AB0  286E 0008                movea.l    A4, [A6 + 0x8]
  1000. 00000AB4  266E 0008                movea.l    A3, [A6 + 0x8]
  1001. 00000AB8  3E2B FF10                move.w     D7, [A3 - 0xF0]
  1002. 00000ABC  0647 000E                addi.w     D7, 0xE
  1003. 00000AC0  3C2C FF14                move.w     D6, [A4 - 0xEC]
  1004. 00000AC4  BC47                     cmp.w      D6, D7
  1005. 00000AC6  6C00 0022                bge        +0x24 /* 00000AEA */
  1006. 00000ACA  286E 0008                movea.l    A4, [A6 + 0x8]
  1007. 00000ACE  266E 0008                movea.l    A3, [A6 + 0x8]
  1008. 00000AD2  3E2B FF14                move.w     D7, [A3 - 0xEC]
  1009. 00000AD6  DE6E 000C                add.w      D7, [A6 + 0xC]
  1010. 00000ADA  3947 FF14                move.w     [A4 - 0xEC], D7
  1011. 00000ADE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1012. 00000AE2  4EBA FBA4                jsr        [PC - 0x45C /* 00000688 */]
  1013. 00000AE6  4EFA FFC8                jmp        [PC - 0x38 /* 00000AB0 */]
  1014. label00000AEA:
  1015. 00000AEA  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  1016. 00000AEE  4E5E                     unlink     A6
  1017. 00000AF0  205F                     movea.l    A0, [A7]+
  1018. 00000AF2  5C8F                     addq.l     A7, 6
  1019. 00000AF4  4ED0                     jmp        [A0]
  1020. fn00000AF6:
  1021. 00000AF6  4E56 0000                link       A6, 0
  1022. 00000AFA  48E7 0118                movem.l    -[A7], D7,A3,A4
  1023. label00000AFE:
  1024. 00000AFE  286E 0008                movea.l    A4, [A6 + 0x8]
  1025. 00000B02  0C6C FFFA FF14           cmpi.w     [A4 - 0xEC], 0xFFFA
  1026. 00000B08  6F00 0022                ble        +0x24 /* 00000B2C */
  1027. 00000B0C  286E 0008                movea.l    A4, [A6 + 0x8]
  1028. 00000B10  266E 0008                movea.l    A3, [A6 + 0x8]
  1029. 00000B14  3E2B FF14                move.w     D7, [A3 - 0xEC]
  1030. 00000B18  9E6E 000C                sub.w      D7, [A6 + 0xC]
  1031. 00000B1C  3947 FF14                move.w     [A4 - 0xEC], D7
  1032. 00000B20  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1033. 00000B24  4EBA FB62                jsr        [PC - 0x49E /* 00000688 */]
  1034. 00000B28  4EFA FFD4                jmp        [PC - 0x2C /* 00000AFE */]
  1035. label00000B2C:
  1036. 00000B2C  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1037. 00000B30  4E5E                     unlink     A6
  1038. 00000B32  205F                     movea.l    A0, [A7]+
  1039. 00000B34  5C8F                     addq.l     A7, 6
  1040. 00000B36  4ED0                     jmp        [A0]
  1041. fn00000B38:
  1042. 00000B38  4E56 FFF8                link       A6, -0x0008
  1043. 00000B3C  48E7 0118                movem.l    -[A7], D7,A3,A4
  1044. 00000B40  286E 0008                movea.l    A4, [A6 + 0x8]
  1045. 00000B44  598F                     subq.l     A7, 4
  1046. 00000B46  A8D8                     syscall    NewRgn
  1047. 00000B48  2E1F                     move.l     D7, [A7]+
  1048. 00000B4A  2947 FEF4                move.l     [A4 - 0x10C], D7
  1049. 00000B4E  286E 0008                movea.l    A4, [A6 + 0x8]
  1050. 00000B52  598F                     subq.l     A7, 4
  1051. 00000B54  A8D8                     syscall    NewRgn
  1052. 00000B56  2E1F                     move.l     D7, [A7]+
  1053. 00000B58  2947 FEE8                move.l     [A4 - 0x118], D7
  1054. 00000B5C  286E 0008                movea.l    A4, [A6 + 0x8]
  1055. 00000B60  598F                     subq.l     A7, 4
  1056. 00000B62  A8D8                     syscall    NewRgn
  1057. 00000B64  2E1F                     move.l     D7, [A7]+
  1058. 00000B66  2947 FEE4                move.l     [A4 - 0x11C], D7
  1059. 00000B6A  286E 0008                movea.l    A4, [A6 + 0x8]
  1060. 00000B6E  598F                     subq.l     A7, 4
  1061. 00000B70  A8D8                     syscall    NewRgn
  1062. 00000B72  2E1F                     move.l     D7, [A7]+
  1063. 00000B74  2947 FEE0                move.l     [A4 - 0x120], D7
  1064. 00000B78  286E 0008                movea.l    A4, [A6 + 0x8]
  1065. 00000B7C  598F                     subq.l     A7, 4
  1066. 00000B7E  A8D8                     syscall    NewRgn
  1067. 00000B80  2E1F                     move.l     D7, [A7]+
  1068. 00000B82  2947 FEDC                move.l     [A4 - 0x124], D7
  1069. 00000B86  286E 0008                movea.l    A4, [A6 + 0x8]
  1070. 00000B8A  598F                     subq.l     A7, 4
  1071. 00000B8C  A8D8                     syscall    NewRgn
  1072. 00000B8E  2E1F                     move.l     D7, [A7]+
  1073. 00000B90  2947 FEF0                move.l     [A4 - 0x110], D7
  1074. 00000B94  286E 0008                movea.l    A4, [A6 + 0x8]
  1075. 00000B98  598F                     subq.l     A7, 4
  1076. 00000B9A  A8D8                     syscall    NewRgn
  1077. 00000B9C  2E1F                     move.l     D7, [A7]+
  1078. 00000B9E  2947 FEEC                move.l     [A4 - 0x114], D7
  1079. 00000BA2  286E 0008                movea.l    A4, [A6 + 0x8]
  1080. 00000BA6  266E 0008                movea.l    A3, [A6 + 0x8]
  1081. 00000BAA  47EB FB40                lea.l      A3, [A3 - 0x4C0]
  1082. 00000BAE  294B FECE                move.l     [A4 - 0x132], A3
  1083. 00000BB2  397C 000C FED2           move.w     [A4 - 0x12E], 0xC
  1084. 00000BB8  486C FED4                pea.l      [A4 - 0x12C]
  1085. 00000BBC  4267                     clr.w      -[A7]
  1086. 00000BBE  4267                     clr.w      -[A7]
  1087. 00000BC0  3F3C 005E                move.w     -[A7], 0x5E /* '^' */
  1088. 00000BC4  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  1089. 00000BC8  A8A7                     syscall    SetRect
  1090. 00000BCA  286E 0008                movea.l    A4, [A6 + 0x8]
  1091. 00000BCE  486C FF10                pea.l      [A4 - 0xF0]
  1092. 00000BD2  4267                     clr.w      -[A7]
  1093. 00000BD4  4267                     clr.w      -[A7]
  1094. 00000BD6  A880                     syscall    SetPt
  1095. 00000BD8  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1096. 00000BDC  4EBA FA62                jsr        [PC - 0x59E /* 00000640 */]
  1097. 00000BE0  286E 0008                movea.l    A4, [A6 + 0x8]
  1098. 00000BE4  486C FEF8                pea.l      [A4 - 0x108]
  1099. 00000BE8  4267                     clr.w      -[A7]
  1100. 00000BEA  3F3C 0004                move.w     -[A7], 0x4
  1101. 00000BEE  A8A8                     syscall    OffsetRect
  1102. 00000BF0  486E FFF8                pea.l      [A6 - 0x8]
  1103. 00000BF4  3F3C 00A9                move.w     -[A7], 0xA9
  1104. 00000BF8  3F3C 010E                move.w     -[A7], 0x10E
  1105. 00000BFC  3F3C 00C9                move.w     -[A7], 0xC9
  1106. 00000C00  3F3C 012E                move.w     -[A7], 0x12E
  1107. 00000C04  A8A7                     syscall    SetRect
  1108. 00000C06  486E FFF8                pea.l      [A6 - 0x8]
  1109. 00000C0A  486D F23A                pea.l      [A5 - 0xDC6]
  1110. 00000C0E  A8BB                     syscall    FillOval
  1111. 00000C10  486E FFF8                pea.l      [A6 - 0x8]
  1112. 00000C14  A8B7                     syscall    FrameOval
  1113. 00000C16  486E FFF8                pea.l      [A6 - 0x8]
  1114. 00000C1A  3F3C 00B4                move.w     -[A7], 0xB4
  1115. 00000C1E  3F3C 0119                move.w     -[A7], 0x119
  1116. 00000C22  3F3C 00BE                move.w     -[A7], 0xBE
  1117. 00000C26  3F3C 0123                move.w     -[A7], 0x123
  1118. 00000C2A  A8A7                     syscall    SetRect
  1119. 00000C2C  486E FFF8                pea.l      [A6 - 0x8]
  1120. 00000C30  A8B8                     syscall    PaintOval
  1121. 00000C32  286E 0008                movea.l    A4, [A6 + 0x8]
  1122. 00000C36  286C FF18                movea.l    A4, [A4 - 0xE8]
  1123. 00000C3A  486C 0002                pea.l      [A4 + 0x2]
  1124. 00000C3E  286E 0008                movea.l    A4, [A6 + 0x8]
  1125. 00000C42  486C FECE                pea.l      [A4 - 0x132]
  1126. 00000C46  286E 0008                movea.l    A4, [A6 + 0x8]
  1127. 00000C4A  486C FEF8                pea.l      [A4 - 0x108]
  1128. 00000C4E  286E 0008                movea.l    A4, [A6 + 0x8]
  1129. 00000C52  486C FED4                pea.l      [A4 - 0x12C]
  1130. 00000C56  4267                     clr.w      -[A7]
  1131. 00000C58  42A7                     clr.l      -[A7]
  1132. 00000C5A  A8EC                     syscall    CopyBits
  1133. 00000C5C  286E 0008                movea.l    A4, [A6 + 0x8]
  1134. 00000C60  486C FEF8                pea.l      [A4 - 0x108]
  1135. 00000C64  A8A3                     syscall    EraseRect
  1136. 00000C66  286E 0008                movea.l    A4, [A6 + 0x8]
  1137. 00000C6A  486C FF08                pea.l      [A4 - 0xF8]
  1138. 00000C6E  3F3C 0099                move.w     -[A7], 0x99
  1139. 00000C72  3F3C 00FE                move.w     -[A7], 0xFE
  1140. 00000C76  3F3C 00D9                move.w     -[A7], 0xD9
  1141. 00000C7A  3F3C 013E                move.w     -[A7], 0x13E
  1142. 00000C7E  A8A7                     syscall    SetRect
  1143. 00000C80  286E 0008                movea.l    A4, [A6 + 0x8]
  1144. 00000C84  266E 0008                movea.l    A3, [A6 + 0x8]
  1145. 00000C88  296B FF08 FF00           move.l     [A4 - 0x100], [A3 - 0xF8]
  1146. 00000C8E  296B FF0C FF04           move.l     [A4 - 0xFC], [A3 - 0xF4]
  1147. 00000C94  286E 0008                movea.l    A4, [A6 + 0x8]
  1148. 00000C98  486C FF00                pea.l      [A4 - 0x100]
  1149. 00000C9C  3F3C 0080                move.w     -[A7], 0x80
  1150. 00000CA0  4267                     clr.w      -[A7]
  1151. 00000CA2  A8A8                     syscall    OffsetRect
  1152. 00000CA4  286E 0008                movea.l    A4, [A6 + 0x8]
  1153. 00000CA8  2F2C FEE0                move.l     -[A7], [A4 - 0x120]
  1154. 00000CAC  3F3C 0099                move.w     -[A7], 0x99
  1155. 00000CB0  3F3C 00FE                move.w     -[A7], 0xFE
  1156. 00000CB4  3F3C 00D9                move.w     -[A7], 0xD9
  1157. 00000CB8  3F3C 011E                move.w     -[A7], 0x11E
  1158. 00000CBC  A8DE                     syscall    SetRecRgn
  1159. 00000CBE  286E 0008                movea.l    A4, [A6 + 0x8]
  1160. 00000CC2  2F2C FEDC                move.l     -[A7], [A4 - 0x124]
  1161. 00000CC6  3F3C 0099                move.w     -[A7], 0x99
  1162. 00000CCA  3F3C 011E                move.w     -[A7], 0x11E
  1163. 00000CCE  3F3C 00D9                move.w     -[A7], 0xD9
  1164. 00000CD2  3F3C 013E                move.w     -[A7], 0x13E
  1165. 00000CD6  A8DE                     syscall    SetRecRgn
  1166. 00000CD8  286E 0008                movea.l    A4, [A6 + 0x8]
  1167. 00000CDC  2F2C FEE4                move.l     -[A7], [A4 - 0x11C]
  1168. 00000CE0  3F3C FFF8                move.w     -[A7], 0xFFF8
  1169. 00000CE4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1170. 00000CE8  4EBA F8B6                jsr        [PC - 0x74A /* 000005A0 */]
  1171. 00000CEC  286E 0008                movea.l    A4, [A6 + 0x8]
  1172. 00000CF0  397C FFFA FF14           move.w     [A4 - 0xEC], 0xFFFA
  1173. 00000CF6  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1174. 00000CFA  4E5E                     unlink     A6
  1175. 00000CFC  2E9F                     move.l     [A7], [A7]+
  1176. 00000CFE  4E75                     rts
  1177. export_1:
  1178. 00000D00  4E56 FB40                link       A6, -0x04C0
  1179. 00000D04  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  1180. 00000D08  286E 0008                movea.l    A4, [A6 + 0x8]
  1181. 00000D0C  2D54 FFF8                move.l     [A6 - 0x8], [A4]
  1182. 00000D10  2D6C 0004 FFFC           move.l     [A6 - 0x4], [A4 + 0x4]
  1183. 00000D16  486E FFF4                pea.l      [A6 - 0xC]
  1184. 00000D1A  A874                     syscall    GetPort
  1185. 00000D1C  486E FFF8                pea.l      [A6 - 0x8]
  1186. 00000D20  A870                     syscall    LocalToGlobal
  1187. 00000D22  486E FFFC                pea.l      [A6 - 0x4]
  1188. 00000D26  A870                     syscall    LocalToGlobal
  1189. 00000D28  486E FFD6                pea.l      [A6 - 0x2A]
  1190. 00000D2C  3F3C 000B                move.w     -[A7], 0xB
  1191. 00000D30  3F3C 001C                move.w     -[A7], 0x1C
  1192. 00000D34  3F3C 01F6                move.w     -[A7], 0x1F6
  1193. 00000D38  3F3C 014C                move.w     -[A7], 0x14C
  1194. 00000D3C  A8A7                     syscall    SetRect
  1195. 00000D3E  486E FFF0                pea.l      [A6 - 0x10]
  1196. 00000D42  A910                     syscall    GetWMgrPort
  1197. 00000D44  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  1198. 00000D48  A873                     syscall    SetPort
  1199. 00000D4A  486E FFDE                pea.l      [A6 - 0x22]
  1200. 00000D4E  A898                     syscall    GetPenState
  1201. 00000D50  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1202. 00000D54  A89C                     syscall    PenMode
  1203. 00000D56  486E FFCE                pea.l      [A6 - 0x32]
  1204. 00000D5A  3E2E FFFA                move.w     D7, [A6 - 0x6]
  1205. 00000D5E  9E6E FFD8                sub.w      D7, [A6 - 0x28]
  1206. 00000D62  3F07                     move.w     -[A7], D7
  1207. 00000D64  3E2E FFF8                move.w     D7, [A6 - 0x8]
  1208. 00000D68  9E6E FFD6                sub.w      D7, [A6 - 0x2A]
  1209. 00000D6C  3F07                     move.w     -[A7], D7
  1210. 00000D6E  3E2E FFFE                move.w     D7, [A6 - 0x2]
  1211. 00000D72  9E6E FFDC                sub.w      D7, [A6 - 0x24]
  1212. 00000D76  3F07                     move.w     -[A7], D7
  1213. 00000D78  3E2E FFFC                move.w     D7, [A6 - 0x4]
  1214. 00000D7C  9E6E FFDA                sub.w      D7, [A6 - 0x26]
  1215. 00000D80  3F07                     move.w     -[A7], D7
  1216. 00000D82  A8A7                     syscall    SetRect
  1217. 00000D84  598F                     subq.l     A7, 4
  1218. 00000D86  2F3A 041C                move.l     -[A7], [PC + 0x41C /* 000011A4, value 0x504B5054 'PKPT', pstring "KPT" */]
  1219. 00000D8A  3F3C 03EC                move.w     -[A7], 0x3EC
  1220. 00000D8E  A9A0                     syscall    GetResource
  1221. 00000D90  2E1F                     move.l     D7, [A7]+
  1222. 00000D92  2D47 FFCA                move.l     [A6 - 0x36], D7
  1223. 00000D96  2F2E FFCA                move.l     -[A7], [A6 - 0x36]
  1224. 00000D9A  4EBA F3D2                jsr        [PC - 0xC2E /* 0000016E */]
  1225. 00000D9E  2D6E FFCA FFC6           move.l     [A6 - 0x3A], [A6 - 0x36]
  1226. 00000DA4  286E FFC6                movea.l    A4, [A6 - 0x3A]
  1227. 00000DA8  2854                     movea.l    A4, [A4]
  1228. 00000DAA  3E3C 0001                move.w     D7, 0x1
  1229. 00000DAE  0C47 000F                cmpi.w     D7, 0xF
  1230. 00000DB2  6E00 00B8                bgt        +0xBA /* 00000E6C */
  1231. label00000DB6:
  1232. 00000DB6  3C07                     move.w     D6, D7
  1233. 00000DB8  E74E                     lsl        D6.w, 3
  1234. 00000DBA  47EE FF44                lea.l      A3, [A6 - 0xBC]
  1235. 00000DBE  3A07                     move.w     D5, D7
  1236. 00000DC0  5345                     subq.w     D5, 1
  1237. 00000DC2  DA45                     add.w      D5, D5
  1238. 00000DC4  45EC 0002                lea.l      A2, [A4 + 0x2]
  1239. 00000DC8  382E FFD0                move.w     D4, [A6 - 0x30]
  1240. 00000DCC  C9F2 5000                muls.w     D4, [A2 + D5.w]
  1241. 00000DD0  48C4                     ext.l      D4
  1242. 00000DD2  89FC 0064                divs.w     D4, 0x64 /* 'd' */
  1243. 00000DD6  3A2E FFFA                move.w     D5, [A6 - 0x6]
  1244. 00000DDA  9A44                     sub.w      D5, D4
  1245. 00000DDC  3785 6002                move.w     [A3 + D6.w + 0x2], D5
  1246. 00000DE0  3C07                     move.w     D6, D7
  1247. 00000DE2  E74E                     lsl        D6.w, 3
  1248. 00000DE4  47EE FF44                lea.l      A3, [A6 - 0xBC]
  1249. 00000DE8  3A07                     move.w     D5, D7
  1250. 00000DEA  5345                     subq.w     D5, 1
  1251. 00000DEC  DA45                     add.w      D5, D5
  1252. 00000DEE  45EC 0002                lea.l      A2, [A4 + 0x2]
  1253. 00000DF2  382E FFCE                move.w     D4, [A6 - 0x32]
  1254. 00000DF6  C9F2 5000                muls.w     D4, [A2 + D5.w]
  1255. 00000DFA  48C4                     ext.l      D4
  1256. 00000DFC  89FC 0064                divs.w     D4, 0x64 /* 'd' */
  1257. 00000E00  3A2E FFF8                move.w     D5, [A6 - 0x8]
  1258. 00000E04  9A44                     sub.w      D5, D4
  1259. 00000E06  3785 6000                move.w     [A3 + D6.w], D5
  1260. 00000E0A  3C07                     move.w     D6, D7
  1261. 00000E0C  E74E                     lsl        D6.w, 3
  1262. 00000E0E  47EE FF44                lea.l      A3, [A6 - 0xBC]
  1263. 00000E12  3A07                     move.w     D5, D7
  1264. 00000E14  5345                     subq.w     D5, 1
  1265. 00000E16  DA45                     add.w      D5, D5
  1266. 00000E18  45EC 0002                lea.l      A2, [A4 + 0x2]
  1267. 00000E1C  382E FFD4                move.w     D4, [A6 - 0x2C]
  1268. 00000E20  C9F2 5000                muls.w     D4, [A2 + D5.w]
  1269. 00000E24  48C4                     ext.l      D4
  1270. 00000E26  89FC 0064                divs.w     D4, 0x64 /* 'd' */
  1271. 00000E2A  3A2E FFFE                move.w     D5, [A6 - 0x2]
  1272. 00000E2E  9A44                     sub.w      D5, D4
  1273. 00000E30  3785 6006                move.w     [A3 + D6.w + 0x6], D5
  1274. 00000E34  3C07                     move.w     D6, D7
  1275. 00000E36  E74E                     lsl        D6.w, 3
  1276. 00000E38  47EE FF44                lea.l      A3, [A6 - 0xBC]
  1277. 00000E3C  3A07                     move.w     D5, D7
  1278. 00000E3E  5345                     subq.w     D5, 1
  1279. 00000E40  DA45                     add.w      D5, D5
  1280. 00000E42  45EC 0002                lea.l      A2, [A4 + 0x2]
  1281. 00000E46  382E FFD2                move.w     D4, [A6 - 0x2E]
  1282. 00000E4A  C9F2 5000                muls.w     D4, [A2 + D5.w]
  1283. 00000E4E  48C4                     ext.l      D4
  1284. 00000E50  89FC 0064                divs.w     D4, 0x64 /* 'd' */
  1285. 00000E54  3A2E FFFC                move.w     D5, [A6 - 0x4]
  1286. 00000E58  9A44                     sub.w      D5, D4
  1287. 00000E5A  3785 6004                move.w     [A3 + D6.w + 0x4], D5
  1288. 00000E5E  0C47 000F                cmpi.w     D7, 0xF
  1289. 00000E62  6C00 0008                bge        +0xA /* 00000E6C */
  1290. 00000E66  5247                     addq.w     D7, 1
  1291. 00000E68  4EFA FF4C                jmp        [PC - 0xB4 /* 00000DB6 */]
  1292. label00000E6C:
  1293. 00000E6C  2F2E FFCA                move.l     -[A7], [A6 - 0x36]
  1294. 00000E70  4EBA F306                jsr        [PC - 0xCFA /* 00000178 */]
  1295. 00000E74  3E3C 0001                move.w     D7, 0x1
  1296. 00000E78  0C47 000F                cmpi.w     D7, 0xF
  1297. 00000E7C  6E00 003A                bgt        +0x3C /* 00000EB8 */
  1298. label00000E80:
  1299. 00000E80  3C07                     move.w     D6, D7
  1300. 00000E82  E74E                     lsl        D6.w, 3
  1301. 00000E84  49EE FF44                lea.l      A4, [A6 - 0xBC]
  1302. 00000E88  4874 6000                pea.l      [A4 + D6.w]
  1303. 00000E8C  A8A1                     syscall    FrameRect
  1304. 00000E8E  2F3C 0000 0004           move.l     -[A7], 0x4
  1305. 00000E94  486E FF1C                pea.l      [A6 - 0xE4]
  1306. 00000E98  4EBA F30C                jsr        [PC - 0xCF4 /* 000001A6 */]
  1307. 00000E9C  3C07                     move.w     D6, D7
  1308. 00000E9E  E74E                     lsl        D6.w, 3
  1309. 00000EA0  49EE FF44                lea.l      A4, [A6 - 0xBC]
  1310. 00000EA4  4874 6000                pea.l      [A4 + D6.w]
  1311. 00000EA8  A8A1                     syscall    FrameRect
  1312. 00000EAA  0C47 000F                cmpi.w     D7, 0xF
  1313. 00000EAE  6C00 0008                bge        +0xA /* 00000EB8 */
  1314. 00000EB2  5247                     addq.w     D7, 1
  1315. 00000EB4  4EFA FFCA                jmp        [PC - 0x36 /* 00000E80 */]
  1316. label00000EB8:
  1317. 00000EB8  486E FFDE                pea.l      [A6 - 0x22]
  1318. 00000EBC  A899                     syscall    SetPenState
  1319. 00000EBE  598F                     subq.l     A7, 4
  1320. 00000EC0  42A7                     clr.l      -[A7]
  1321. 00000EC2  486E FFD6                pea.l      [A6 - 0x2A]
  1322. 00000EC6  487A 02DA                pea.l      [PC + 0x2DA /* 000011A2, value 0x504B 'PK', cstring "" */]
  1323. 00000ECA  1F3C 0001                move.b     -[A7], 0x1
  1324. 00000ECE  3F3C 0001                move.w     -[A7], 0x1
  1325. 00000ED2  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  1326. 00000ED8  4227                     clr.b      -[A7]
  1327. 00000EDA  42A7                     clr.l      -[A7]
  1328. 00000EDC  A913                     syscall    NewWindow
  1329. 00000EDE  2E1F                     move.l     D7, [A7]+
  1330. 00000EE0  2D47 FF18                move.l     [A6 - 0xE8], D7
  1331. 00000EE4  2F2E FF18                move.l     -[A7], [A6 - 0xE8]
  1332. 00000EE8  A873                     syscall    SetPort
  1333. 00000EEA  4267                     clr.w      -[A7]
  1334. 00000EEC  A887                     syscall    TextFont
  1335. 00000EEE  3F3C 000C                move.w     -[A7], 0xC
  1336. 00000EF2  A88A                     syscall    TextSize
  1337. 00000EF4  598F                     subq.l     A7, 4
  1338. 00000EF6  2F3A 02A6                move.l     -[A7], [PC + 0x2A6 /* 0000119E, value 0x504B5054 'PKPT', cstring "PKPT" */]
  1339. 00000EFA  3F2D FFFA                move.w     -[A7], [A5 - 0x6]
  1340. 00000EFE  A9A0                     syscall    GetResource
  1341. 00000F00  2E1F                     move.l     D7, [A7]+
  1342. 00000F02  2D47 FF40                move.l     [A6 - 0xC0], D7
  1343. 00000F06  2F2E FF40                move.l     -[A7], [A6 - 0xC0]
  1344. 00000F0A  4EBA F262                jsr        [PC - 0xD9E /* 0000016E */]
  1345. 00000F0E  486E FF38                pea.l      [A6 - 0xC8]
  1346. 00000F12  3F3C 0014                move.w     -[A7], 0x14
  1347. 00000F16  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1348. 00000F1A  3F3C 01D6                move.w     -[A7], 0x1D6
  1349. 00000F1E  3F3C 00FA                move.w     -[A7], 0xFA
  1350. 00000F22  A8A7                     syscall    SetRect
  1351. 00000F24  598F                     subq.l     A7, 4
  1352. 00000F26  2F2E FF40                move.l     -[A7], [A6 - 0xC0]
  1353. 00000F2A  4EBA F22E                jsr        [PC - 0xDD2 /* 0000015A */]
  1354. 00000F2E  2E1F                     move.l     D7, [A7]+
  1355. 00000F30  3D47 FF26                move.w     [A6 - 0xDA], D7
  1356. 00000F34  286E FF40                movea.l    A4, [A6 - 0xC0]
  1357. 00000F38  2F14                     move.l     -[A7], [A4]
  1358. 00000F3A  3E2E FF26                move.w     D7, [A6 - 0xDA]
  1359. 00000F3E  48C7                     ext.l      D7
  1360. 00000F40  2F07                     move.l     -[A7], D7
  1361. 00000F42  486E FF38                pea.l      [A6 - 0xC8]
  1362. 00000F46  3F3C 0001                move.w     -[A7], 0x1
  1363. 00000F4A  A9CE                     syscall    TETextBox/TextBox
  1364. 00000F4C  2F2E FF40                move.l     -[A7], [A6 - 0xC0]
  1365. 00000F50  4EBA F226                jsr        [PC - 0xDDA /* 00000178 */]
  1366. 00000F54  2F0E                     move.l     -[A7], A6
  1367. 00000F56  4EBA FBE0                jsr        [PC - 0x420 /* 00000B38 */]
  1368. 00000F5A  3F3C 0004                move.w     -[A7], 0x4
  1369. 00000F5E  2F0E                     move.l     -[A7], A6
  1370. 00000F60  4EBA FB46                jsr        [PC - 0x4BA /* 00000AA8 */]
  1371. 00000F64  2F0E                     move.l     -[A7], A6
  1372. 00000F66  4EBA FA56                jsr        [PC - 0x5AA /* 000009BE */]
  1373. 00000F6A  422E FF22                clr.b      [A6 - 0xDE]
  1374. 00000F6E  422E FF20                clr.b      [A6 - 0xE0]
  1375. 00000F72  598F                     subq.l     A7, 4
  1376. 00000F74  A975                     syscall    TickCount
  1377. 00000F76  2E1F                     move.l     D7, [A7]+
  1378. 00000F78  0687 0000 0258           addi.l     D7, 0x258
  1379. 00000F7E  2D47 FF1C                move.l     [A6 - 0xE4], D7
  1380. label00000F82:
  1381. 00000F82  558F                     subq.l     A7, 2
  1382. 00000F84  A861                     syscall    Random
  1383. 00000F86  3E1F                     move.w     D7, [A7]+
  1384. 00000F88  48C7                     ext.l      D7
  1385. 00000F8A  8FFC 0004                divs.w     D7, 0x4
  1386. 00000F8E  4847                     swap.w     D7
  1387. 00000F90  3D47 FF16                move.w     [A6 - 0xEA], D7
  1388. 00000F94  4EFA 002A                jmp        [PC + 0x2A /* 00000FC0 */]
  1389. label00000F98:
  1390. 00000F98  2F0E                     move.l     -[A7], A6
  1391. 00000F9A  4EBA F90E                jsr        [PC - 0x6F2 /* 000008AA */]
  1392. 00000F9E  4EFA 0044                jmp        [PC + 0x44 /* 00000FE4 */]
  1393. label00000FA2:
  1394. 00000FA2  2F0E                     move.l     -[A7], A6
  1395. 00000FA4  4EBA F98E                jsr        [PC - 0x672 /* 00000934 */]
  1396. 00000FA8  4EFA 003A                jmp        [PC + 0x3A /* 00000FE4 */]
  1397. label00000FAC:
  1398. 00000FAC  2F0E                     move.l     -[A7], A6
  1399. 00000FAE  4EBA F7E6                jsr        [PC - 0x81A /* 00000796 */]
  1400. 00000FB2  4EFA 0030                jmp        [PC + 0x30 /* 00000FE4 */]
  1401. label00000FB6:
  1402. 00000FB6  2F0E                     move.l     -[A7], A6
  1403. 00000FB8  4EBA F866                jsr        [PC - 0x79A /* 00000820 */]
  1404. 00000FBC  4EFA 0026                jmp        [PC + 0x26 /* 00000FE4 */]
  1405. label00000FC0:
  1406. 00000FC0  3E2E FF16                move.w     D7, [A6 - 0xEA]
  1407. 00000FC4  0C47 0000                cmpi.w     D7, 0x0
  1408. 00000FC8  6700 FFCE                beq        -0x30 /* 00000F98 */
  1409. 00000FCC  0C47 0001                cmpi.w     D7, 0x1
  1410. 00000FD0  6700 FFD0                beq        -0x2E /* 00000FA2 */
  1411. 00000FD4  0C47 0002                cmpi.w     D7, 0x2
  1412. 00000FD8  6700 FFD2                beq        -0x2C /* 00000FAC */
  1413. 00000FDC  0C47 0003                cmpi.w     D7, 0x3
  1414. 00000FE0  6700 FFD4                beq        -0x2A /* 00000FB6 */
  1415. label00000FE4:
  1416. 00000FE4  1E2E FF20                move.b     D7, [A6 - 0xE0]
  1417. 00000FE8  0A07 0001                xori.b     D7, 0x1
  1418. 00000FEC  598F                     subq.l     A7, 4
  1419. 00000FEE  A975                     syscall    TickCount
  1420. 00000FF0  2C1F                     move.l     D6, [A7]+
  1421. 00000FF2  BCAE FF1C                cmp.l      D6, [A6 - 0xE4]
  1422. 00000FF6  5EC6                     sgt        D6
  1423. 00000FF8  4406                     neg.b      D6
  1424. 00000FFA  CC07                     and.b      D6, D7
  1425. 00000FFC  6700 0044                beq        +0x46 /* 00001042 */
  1426. 00001000  1D7C 0001 FF20           move.b     [A6 - 0xE0], 0x1
  1427. 00001006  486E FF2C                pea.l      [A6 - 0xD4]
  1428. 0000100A  3F3C 0190                move.w     -[A7], 0x190
  1429. 0000100E  3F3C 0114                move.w     -[A7], 0x114
  1430. 00001012  3F3C 01E0                move.w     -[A7], 0x1E0
  1431. 00001016  3F3C 0128                move.w     -[A7], 0x128
  1432. 0000101A  A8A7                     syscall    SetRect
  1433. 0000101C  598F                     subq.l     A7, 4
  1434. 0000101E  2F2E FF18                move.l     -[A7], [A6 - 0xE8]
  1435. 00001022  486E FF2C                pea.l      [A6 - 0xD4]
  1436. 00001026  487A 016C                pea.l      [PC + 0x16C /* 00001194, value 0x8436F6E, pstring "Continue" */]
  1437. 0000102A  1F3C 0001                move.b     -[A7], 0x1
  1438. 0000102E  4267                     clr.w      -[A7]
  1439. 00001030  4267                     clr.w      -[A7]
  1440. 00001032  3F3C 0001                move.w     -[A7], 0x1
  1441. 00001036  4267                     clr.w      -[A7]
  1442. 00001038  42A7                     clr.l      -[A7]
  1443. 0000103A  A954                     syscall    NewControl
  1444. 0000103C  2E1F                     move.l     D7, [A7]+
  1445. 0000103E  2D47 FF34                move.l     [A6 - 0xCC], D7
  1446. label00001042:
  1447. 00001042  558F                     subq.l     A7, 2
  1448. 00001044  3F3C 0002                move.w     -[A7], 0x2
  1449. 00001048  486D F256                pea.l      [A5 - 0xDAA]
  1450. 0000104C  A970                     syscall    GetNextEvent
  1451. 0000104E  1E1F                     move.b     D7, [A7]+
  1452. 00001050  CE2E FF20                and.b      D7, [A6 - 0xE0]
  1453. 00001054  6700 0034                beq        +0x36 /* 0000108A */
  1454. 00001058  2D6D F260 FF28           move.l     [A6 - 0xD8], [A5 - 0xDA0]
  1455. 0000105E  486E FF28                pea.l      [A6 - 0xD8]
  1456. 00001062  A871                     syscall    GlobalToLocal
  1457. 00001064  558F                     subq.l     A7, 2
  1458. 00001066  2F2E FF34                move.l     -[A7], [A6 - 0xCC]
  1459. 0000106A  2F2E FF28                move.l     -[A7], [A6 - 0xD8]
  1460. 0000106E  A966                     syscall    TestControl
  1461. 00001070  3E1F                     move.w     D7, [A7]+
  1462. 00001072  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  1463. 00001076  6600 0012                bne        +0x14 /* 0000108A */
  1464. 0000107A  1D7C 0001 FF22           move.b     [A6 - 0xDE], 0x1
  1465. 00001080  2F2E FF34                move.l     -[A7], [A6 - 0xCC]
  1466. 00001084  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1467. 00001088  A95D                     syscall    HiliteControl
  1468. label0000108A:
  1469. 0000108A  4A2E FF22                tst.b      [A6 - 0xDE]
  1470. 0000108E  6700 FEF2                beq        -0x10C /* 00000F82 */
  1471. 00001092  2F0E                     move.l     -[A7], A6
  1472. 00001094  4EBA F928                jsr        [PC - 0x6D8 /* 000009BE */]
  1473. 00001098  2F0E                     move.l     -[A7], A6
  1474. 0000109A  4EBA F9C2                jsr        [PC - 0x63E /* 00000A5E */]
  1475. 0000109E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1476. 000010A2  2F0E                     move.l     -[A7], A6
  1477. 000010A4  4EBA FA50                jsr        [PC - 0x5B0 /* 00000AF6 */]
  1478. 000010A8  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1479. 000010AC  2F0E                     move.l     -[A7], A6
  1480. 000010AE  4EBA F9F8                jsr        [PC - 0x608 /* 00000AA8 */]
  1481. 000010B2  2F3C 0000 0006           move.l     -[A7], 0x6
  1482. 000010B8  486E FF1C                pea.l      [A6 - 0xE4]
  1483. 000010BC  4EBA F0E8                jsr        [PC - 0xF18 /* 000001A6 */]
  1484. 000010C0  2F0E                     move.l     -[A7], A6
  1485. 000010C2  4EBA F99A                jsr        [PC - 0x666 /* 00000A5E */]
  1486. 000010C6  2F0E                     move.l     -[A7], A6
  1487. 000010C8  4EBA F994                jsr        [PC - 0x66C /* 00000A5E */]
  1488. 000010CC  3F3C 0004                move.w     -[A7], 0x4
  1489. 000010D0  2F0E                     move.l     -[A7], A6
  1490. 000010D2  4EBA FA22                jsr        [PC - 0x5DE /* 00000AF6 */]
  1491. 000010D6  2F2E FF18                move.l     -[A7], [A6 - 0xE8]
  1492. 000010DA  A916                     syscall    HideWindow
  1493. 000010DC  558F                     subq.l     A7, 2
  1494. 000010DE  3F3C 0100                move.w     -[A7], 0x100
  1495. 000010E2  486D F256                pea.l      [A5 - 0xDAA]
  1496. 000010E6  A970                     syscall    GetNextEvent
  1497. 000010E8  1E1F                     move.b     D7, [A7]+
  1498. 000010EA  6700 0006                beq        +0x8 /* 000010F2 */
  1499. 000010EE  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  1500. label000010F2:
  1501. 000010F2  558F                     subq.l     A7, 2
  1502. 000010F4  3F3C 0100                move.w     -[A7], 0x100
  1503. 000010F8  486D F256                pea.l      [A5 - 0xDAA]
  1504. 000010FC  A970                     syscall    GetNextEvent
  1505. 000010FE  1E1F                     move.b     D7, [A7]+
  1506. 00001100  6700 0006                beq        +0x8 /* 00001108 */
  1507. 00001104  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  1508. label00001108:
  1509. 00001108  558F                     subq.l     A7, 2
  1510. 0000110A  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  1511. 0000110E  486D F256                pea.l      [A5 - 0xDAA]
  1512. 00001112  A970                     syscall    GetNextEvent
  1513. 00001114  1E1F                     move.b     D7, [A7]+
  1514. 00001116  6700 000A                beq        +0xC /* 00001122 */
  1515. 0000111A  4EAD 02A2                jsr        [A5 + 0x2A2 /* export_80 */]
  1516. 0000111E  4EFA FFE8                jmp        [PC - 0x18 /* 00001108 */]
  1517. label00001122:
  1518. 00001122  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  1519. 00001126  A873                     syscall    SetPort
  1520. 00001128  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1521. 0000112C  A89C                     syscall    PenMode
  1522. 0000112E  3E3C 000F                move.w     D7, 0xF
  1523. 00001132  0C47 0001                cmpi.w     D7, 0x1
  1524. 00001136  6D00 003A                blt        +0x3C /* 00001172 */
  1525. label0000113A:
  1526. 0000113A  3C07                     move.w     D6, D7
  1527. 0000113C  E74E                     lsl        D6.w, 3
  1528. 0000113E  49EE FF44                lea.l      A4, [A6 - 0xBC]
  1529. 00001142  4874 6000                pea.l      [A4 + D6.w]
  1530. 00001146  A8A1                     syscall    FrameRect
  1531. 00001148  2F3C 0000 0004           move.l     -[A7], 0x4
  1532. 0000114E  486E FF1C                pea.l      [A6 - 0xE4]
  1533. 00001152  4EBA F052                jsr        [PC - 0xFAE /* 000001A6 */]
  1534. 00001156  3C07                     move.w     D6, D7
  1535. 00001158  E74E                     lsl        D6.w, 3
  1536. 0000115A  49EE FF44                lea.l      A4, [A6 - 0xBC]
  1537. 0000115E  4874 6000                pea.l      [A4 + D6.w]
  1538. 00001162  A8A1                     syscall    FrameRect
  1539. 00001164  0C47 0001                cmpi.w     D7, 0x1
  1540. 00001168  6F00 0008                ble        +0xA /* 00001172 */
  1541. 0000116C  5347                     subq.w     D7, 1
  1542. 0000116E  4EFA FFCA                jmp        [PC - 0x36 /* 0000113A */]
  1543. label00001172:
  1544. 00001172  486E FFDE                pea.l      [A6 - 0x22]
  1545. 00001176  A899                     syscall    SetPenState
  1546. 00001178  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  1547. 0000117C  A873                     syscall    SetPort
  1548. 0000117E  2F2E FF34                move.l     -[A7], [A6 - 0xCC]
  1549. 00001182  A955                     syscall    DisposeControl
  1550. 00001184  2F2E FF18                move.l     -[A7], [A6 - 0xE8]
  1551. 00001188  A914                     syscall    DisposeWindow
  1552. 0000118A  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  1553. 0000118E  4E5E                     unlink     A6
  1554. 00001190  2E9F                     move.l     [A7], [A7]+
  1555. 00001192  4E75                     rts
  1556. 00001194  0843 6F6E                bchg.b     D3, 0x6E /* 'n' */
  1557. 00001198  7469                     moveq.l    D2, 0x69
  1558. 0000119A  6E75                     bgt        +0x77 /* 00001211 */
  1559. 0000119C  6500 504B                bcs        +0x504D /* 000061E9 */
  1560. 000011A0  5054                     addq.w     [A4], 8
  1561. 000011A2  0000 504B                ori.b      D0, 0x4B /* 'K' */
  1562. 000011A6  5054                     addq.w     [A4], 8
  1563.